You can extract JSON from Packages.gz and other files using the utility jc:
gzcat Packages.gz | jc --pkg-index-deb