Tree Serialize