Support dumping just one part of config
don't bother trying to fetch invalid pkg names
Handle a few 'property of null' errors
throw when we get invalid json from registry