Added explicit content type to JSONP endpoints

This is required to avoid errors in browsers that enforce
strict mime type policies and show an error when something other
than  is used in a JSONP response.