Converts TreeNode to SimplifiedNode, removing the 'parent' fields. This can be useful because if you have the whole tree, the parent field is redundant and because it makes circular references can make dumping to console etc more troublesome.

Recursive: strips parentage of all children and so on too.