def standardize(instance, keys, is_singular=False, suffixes=None, altkeys=None
    ):
    """Standardize a component such that each key contains a list of dictionaries.

    Args:
        instance (dict): Component to standardize.
        keys (list): Keys to standardize in the instance.
        is_singular (bool, optional): If False, the keys are assumed to be plural
            and singular alternatives are also checked. If True, the keys are
            assumed to be singular and plural alternatives are also checked.
            Defaults to False.
        suffixes (list, optional): Suffixes to add to the keys to get a set of
            alternate keys that should also be checked. Defaults to None as is
            ignored.
        altkeys (list, optional): List of lists of alternate keys. Defaults to None.

    """
    for k in keys:
        if k not in instance:
            instance[k] = []
        if not isinstance(instance[k], list):
            instance[k] = [instance[k]]
    if altkeys is None:
        altkeys = []
    if suffixes is not None:
        for s in suffixes:
            altkeys.append([('%s%s' % (k, s)) for k in keys])
            if is_singular:
                altkeys.append([('%ss%s' % (k, s)) for k in keys])
                altkeys.append([('%s%ss' % (k, s)) for k in keys])
            else:
                altkeys.append([('%s%s' % (k[:-1], s)) for k in keys])
                altkeys.append([('%s%ss' % (k[:-1], s)) for k in keys])
    if is_singular:
        altkeys.append([('%ss' % k) for k in keys])
    else:
        altkeys.append([k[:-1] for k in keys])
    for ialtkeys in altkeys:
        for k, kalt in zip(keys, ialtkeys):
            if kalt in instance:
                if isinstance(instance[kalt], list):
                    instance[k] += instance.pop(kalt)
                else:
                    instance[k].append(instance.pop(kalt))
    for k in keys:
        for i in range(len(instance[k])):
            if isinstance(instance[k][i], str):
                instance[k][i] = {'name': instance[k][i]}
