Fix download link of new Hackage packages
Add support for emitting the results in json