Fix POST/PUT with querystring

After consuming JSON data it forgets querystring data.