Changed behavior for empty arrays from object[0] to null as neo4j will throw an error when trying to set a property to object[0]