utf8-ing all the json endpoints