def translate(old, translation_table):
    """Returns a new dictionary with keys based on translation_table."""
    result = dict()
    for field, val in old.items():
        if field in translation_table:
            result[translation_table[field]] = val
        else:
            result[field] = val
    return result