Fix charset issues
content type may be set explicitly on the response