replace json dump with zipped version