append charset=utf-8 to both text/html and application/json

set charset=utf-8 for json