Format collection types as JSON.

By formatting collection types as JSON, we can use Presto's JSON
functions to extract values.