change mime type to application/json in request.form