Do you have the JSON MIME type added to your server?