changes made to html template and formatting of json