Create Serialize and De-serialize a tree