Sanitise empty array/list values, since these cause Neo4j to error.