def name_getter(dict):
    """Get list of names from a dictionary. Used to get the objective names for EHProblem."""
    namelist = []
    for item in dict:
        name = ''
        for part in item:
            if name == '':
                name = name + part
            else:
                name = name + ':' + part
        namelist.append(name)
    return namelist
