Generate JSON output of multiple columns using TO_JSON