Small helper function to add treeview nodes to the Data array