Fix POST/PUT with querystring

If you send a JSON body but your url contains querystring arguments, only JSON content will be returned.