Fixed parsing of gzipped json.