return dictionaries to html