def METHOD_NAME(jsondata):
    ret = {}
    deps = jsondata.get('dependencies', {})
    for key in deps.keys():
        key = key.lower()
        devonly = deps[key].get('dev', False)
        if not devonly:
            if key not in ret.keys():
                depname = key.replace('/', '-')
                if depname[0] == '@':
                    depname = depname[1:]
                ret[depname] = {'name': depname, 'version': deps[key]['version']}
                ret.update(METHOD_NAME(deps[key]))
    return ret