Add json "compress" option

Allow users to output an array of arrays in addition to the default array of objects. The first array in the output will be an array of column names. The rest will be arrays of values.