is there a way to do the equivalent of apoc.export.json.data but returning the json rather than saving it to a file?
E.g.
MATCH (n:Movie)
WITH collect(n) as a
CALL apoc.export.json.data(a, [], "../../../../../../../../Desktop/Movie-Nodes.json", null)...