fixed response tree traversal

The responses coming back from neo4j were returning bad results if dealt with a map literal or a collection. This fixes that issue and creates tests for it.


Thanks!