fix payload if content type is json