JSON Response Format
To return an API response in JSON format, send a parameter “format” in the request with a value of “json”. If you are using the JavaScript method JSONP you can also send the parameter “callback” in the request with a value of the name you want the callback function to be.