Currently the route handlers of AietesServer are hard coded to write the response body with the function jsonp, which essentially hard-wires JSON as the response content-type.
Use response.send or similar instead and allow configuring and arbitrary response string and content-type.