uglily optimized neo4j writes