ParseBaseNode() deserialization function