Make DataSchemaContextTree.NodeAndStack a record