def get_value_from_labels(json_object: dict, field: dict) -> dict:
    """ Given a json_object and a field definition, return
        the value of the first in a list of field names which exists in the json_object."""
    value = {}
    from_labels = field.get('fromLabels', '')
    for label_name in from_labels:
        if label_name in json_object:
            value = json_object[label_name]
            break
    return value