There's More Than One Way To Do It
There's no single, right way to do the serialization.
Any node could be the “root” of the tree.
Nodes must be instantiated exactly once.
Which nodes are “new” and which are
“duplicates” depends on where you start and how you build the tree.