Traverse trees to remove ids
remove x/y props from root node