I need to parse the output of time_bucket (timescaleDB function derivated from postgres date_trunc) into a JSON object of arrays. I\'m doing this for the first time and afte