REFACTOR: added function dict_to_html_ul(mydict) to help convert dict-like structures to html ul elements