def get_data_field(thing_description, data_field_list):
    """Get the field specified by 'data_field_list' from each thing description

    Args:
        data_field_list(list): list of str that specified the hierarchical field names
            For example, if the parameter value is ['foo', 'bar', 'foobar'], then this
            function will try to get thing_description['foo']['bar']['foobar'] and return the value
            If any of the field does not exist, an error will occur
    Returns:
        object: the content specified by the data field
    """
    for data_field in data_field_list:
        thing_description = thing_description[data_field]
    return thing_description