CURATOR-93 - Added compress() option for transactions.

nit: unused import?