add deserialization of node supertypes