Treeview uses iterator over dictionary to generate tree