Clean TreeSerialization