fix indentation hell in html
escape html in json