* Setting correct content type for JSONP
* Simplify the output method to remove one extra if check.