Converted the whole node instead of properties and nodeDefinitions