generator for Neo4j compatibility