* SQL to JSON via plv8x