I have a function that goes through nodes and places them in a tree:
This is the interface type
interface IDataObj { children: IDataObj[], frontma