provide JSON output for reports

    // Usage:
    // http://localhost: 8080/?format=json&url=https://marketplace.firefox.com/

    {
       "total": {
          "js": 368791,
          "cssimage": 132278,
          "image": 99443,
          "css": 87730,
          "doc": 30340,
          "iframe": 624,
          "favicon": 0,
          "total": 719206
       },
       "resources": [
          {
             "type": "js",
             "size": 164296,
             "url": "https: //marketplace.cdn.mozilla.net/media/js/mkt/consumer-desktop-min.js?build=691c86b"
          },
          {
             "type": "js",
             "size": 123367,
             "url": "https: //static.login.persona.org/v/3ce6a59cc9/production/communication_iframe.js"
          },
          {
             "type": "css",
             "size": 87730,
             "url": "https: //marketplace.cdn.mozilla.net/media/css/mkt/consumer-desktop-min.css?build=ecdf99a"
          },
          {
             "type": "cssimage",
             "size": 47497,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/grain.png?d99a08c"
          },
          {
             "type": "js",
             "size": 37398,
             "url": "https: //ssl.google-analytics.com/ga.js"
          },
          {
             "type": "doc",
             "size": 30340,
             "url": "https: //marketplace.firefox.com/"
          },
          {
             "type": "js",
             "size": 28152,
             "url": "https: //marketplace.cdn.mozilla.net//jsi18n.js?lang=en-US&b=691c86b"
          },
          {
             "type": "cssimage",
             "size": 24062,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/icons/firefox-beta.png?a9351c3"
          },
          {
             "type": "cssimage",
             "size": 21843,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/glyphs/categories.png?a4c5d16"
          },
          {
             "type": "js",
             "size": 15578,
             "url": "https: //login.persona.org/include.js"
          },
          {
             "type": "image",
             "size": 14258,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4252.png?modified=1361243823"
          },
          {
             "type": "cssimage",
             "size": 12800,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/logos/mp_aurora_wordmark_large.png?e077e85"
          },
          {
             "type": "image",
             "size": 12621,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4668.png?modified=1353359836"
          },
          {
             "type": "image",
             "size": 11622,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4155.png?modified=1351279694"
          },
          {
             "type": "image",
             "size": 8348,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/408/408212-64.png?modified=1355253591"
          },
          {
             "type": "image",
             "size": 7065,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/405/405402-64.png?modified=1361243822"
          },
          {
             "type": "image",
             "size": 6610,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/1/1002.png?modified=1348793143"
          },
          {
             "type": "image",
             "size": 5428,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/1/1868.png?modified=1348793137"
          },
          {
             "type": "image",
             "size": 4863,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/372/372750-64.png?modified=1359629135"
          },
          {
             "type": "image",
             "size": 4824,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/1/1556.png?modified=1348793147"
          },
          {
             "type": "image",
             "size": 4422,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/404/404807-64.png?modified=1359559881"
          },
          {
             "type": "image",
             "size": 4120,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4674.png?modified=1361524702"
          },
          {
             "type": "image",
             "size": 3795,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/390/390061-64.png?modified=1355437286"
          },
          {
             "type": "cssimage",
             "size": 3251,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4672.png?modified=1361399408"
          },
          {
             "type": "image",
             "size": 3191,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/393/393011-64.png?modified=1361578165"
          },
          {
             "type": "image",
             "size": 2901,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/0/374.png?modified=1348793140"
          },
          {
             "type": "image",
             "size": 2865,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/408/408938-64.png?modified=1361820709"
          },
          {
             "type": "cssimage",
             "size": 2683,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4666.png?modified=1353359836"
          },
          {
             "type": "cssimage",
             "size": 2535,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4153.png?modified=1351279694"
          },
          {
             "type": "cssimage",
             "size": 2519,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/4/4250.png?modified=1361243823"
          },
          {
             "type": "image",
             "size": 2510,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/addon_icons/366/366345-64.png?modified=1359559884"
          },
          {
             "type": "cssimage",
             "size": 2457,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/icons/regions/us.png?cdd5fa0"
          },
          {
             "type": "cssimage",
             "size": 2238,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/stars/sprite_9.png?e52ba03"
          },
          {
             "type": "cssimage",
             "size": 1907,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/3/3044.png?modified=1349796980"
          },
          {
             "type": "cssimage",
             "size": 1681,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/3/3368.png?modified=1349796985"
          },
          {
             "type": "cssimage",
             "size": 1397,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/2/2626.png?modified=1349796975"
          },
          {
             "type": "cssimage",
             "size": 1278,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/icons/search.png?081db62"
          },
          {
             "type": "cssimage",
             "size": 1189,
             "url": "https: //marketplace.cdn.mozilla.net/img/uploads/imageassets/2/2842.png?modified=1349796978"
          },
          {
             "type": "cssimage",
             "size": 1174,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/icons/rocket.png?132edfa"
          },
          {
             "type": "cssimage",
             "size": 1102,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/icons/clear.png?79b16b7"
          },
          {
             "type": "cssimage",
             "size": 665,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/logos/footzilla.png?114899f"
          },
          {
             "type": "iframe",
             "size": 624,
             "url": "https: //login.persona.org/communication_iframe"
          },
          {
             "type": "favicon",
             "size": 0,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/aurora_fav.ico"
          },
          {
             "type": "cssimage",
             "size": 0,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/mkt/logos/mp_aurora_wordmark_small.png?9d10615"
          },
          {
             "type": "cssimage",
             "size": 0,
             "url": "https: //marketplace.cdn.mozilla.net/media/img/zamboni/mobile/loading-white.png?2816057"
          }
       ]
    }