Qumulo interview question

How to Serialize and Deserialize a Tree