def METHOD_NAME():
    with open('old-metadata/resources.json', 'r') as infile:
        resources = json.load(infile)
    with open('old-metadata/captures.json', 'r') as infile:
        captures = json.load(infile)
    for blob in resources["resources"]:
        res[blob["name"]] = blob
    for blob in captures["captures"]:
        cap[blob["name"]] = blob
    print '%s resources, %s versions' % (len(res), len(cap))