support for gzip reading and writing for json, via utility that will make it easier to use in future readers/writers