In the latest version (23.4.1), when I obtain the output from a query using JSON functions:

Select all rows and then right-click and choose “Copy data” as above; each row of the data is enclosed in single quotes:
'{"_id":11443959,"name":"Geral …….. ]},'
If I spool the output (data) to a file, it has no such quotes.
Lindsay.