clean up
string serialization/deserialization of a binary tree