use json over gob and zip up disk writes