Support faster json decompression, fixes tar opening