updated neo4j logic; added support for arrays/collections