transmit diffs_json to the server for finer-grained logging
(thanks to diff_match_patch!)