HTTP: add content-type: application/json header