def format_headers(headers):
    """
    Parameters
    ----------
    headers Headers to be formatted (List of str)

    Returns A list of dict, the right format for v.DataTable headers
    -------

    """
    out_headers = []
    for header in headers:
        header_dict = {'text': header, 'sortable': True, 'value': header}
        out_headers.append(header_dict)
    return out_headers