I've shaved off 30s of queries by transforming json columns into a string after the first CTE is done with it