Format COA Data for treeview