gzipping images json file