Accept POST/PUT/PATCH as application/json.