Compress diff json string before sending it over the wire