fix encoding in response body