always parse the body as JSON when the content-type is 'application/json' in header