def normalize_roles(roles):
    ret = [
        dict(
            id=role.get('id'),
            name=role.get('name'),
        ) for role in roles
    ]
    return meta.obj_list_to_dict(ret)
Find the offset of the given value in the Bowcaster OverflowBuffer string.
dataset/ETHPy150Open openstack-infra/shade/shade/_utils.py/normalize_roles--crossover with--dataset/ETHPy150Open zcutlip/broken_abandoned/part_5/firmware_building/firmware_headers/mystery_header.py/MysteryHeader.find_offset