Parsing the string back into a tree