Switch to the JSON for the package metadata.

Fixes #19
The ``[1]`` is giving me a problem here (for example when trying ``pypi2spec anitya``).