parsing the new format from Candlepin

Candlepin now sends back a CdnInfo object which has a Cdn and an upstream cert
in JSON.