modify json to html safe