issue 2024: response.json sets by default content-type to application/json
set directly 'application/json' to avoid a call to contenttype
Merge pull request #564 from ilvalle/issue-2024

issue 2024 response.json sets default content-type to application/json