fixes #832

this fixes #832 #196 in the following scenarios ..

  * content-type can be
    * application/json
    * application/json; charset=utf-8