added function to help print dicts in html.