Better JSON encoder.
Support LZ4, use JSON encoder with sort_keys=True, stable input data.