Support for content-type: application/json in request (for AngularJS)