pierre.martignon@neo4j.com
See this https://neo4j.com/labs/apoc/4.1/export/csv/ for CSV and this for JSON including the method to stream to disk
https://support.neo4j.com/s/article/1500012407821-using-cypher-shell-to-stream-cypher-statement-results-to-local-file-in-JSON-format