I will make a new pull request with a seperate function and a new command for unique indexes. Because here, we need the `$entity` object for the function. But for the Unique get_or_create Index, this is not necessary, eg. unwanted! You want to give the properties (key,values) of the node to the index and let the index decide if a node already does exist for these exact properties or if a new one has to be created, in that case the index does that for you and provides you with a node in it's response, see http://docs.neo4j.org/chunked/stable/rest-api-unique-indexes.html#rest-api-create-a-unique-node-in-an-index