Basic handling of data returned from neo4j. building javascript objects from return data, handling of errors.