tree serialization design edits