Collect output format pieces so that we can compress them.
Compress writes of integer arrays to avoid a ton of bitstring creation.