neo4j api utility