Made body serialization respect "content-type: application/json" header
on request.