Adding support for jsonp requests to the API