Fixes #319 overriding the response content-type

Setting the response content-type to 'application/json' when the response has a body object but there is no content-type value given.