minor memory optimzation and typesafety for Neo4jCypherIterator.