I\'m converting an SQL query to JSON using something like:
SELECT JSON_ARRAYAGG(JSON_OBJECT(\'field1\', field1, ...)) FROM db.table
One of my