def extract_titles(row):
    """Creates a list of dictionaries with the titles data and alternatives if exists

    Args:
        list: row[1:5].values
    
    Return:
        list of dictionaries with title and title type
    """
    data = [
        {"title":row[0], "type": "OriginalTitle"}
        ]
    for item in set(row[1:]):
        if item and item != row[0]:
            data.append(
                {"title":item,"type":"AlternativeType"}
                )
    return data