Added a new mixin that compresses JSON.