JSON marshalling for save/restore of Hll in progress

Uses snappy to reduce the size of the JSON.