add node types to serialize