def get_dict_element_header(title=None, k=None, v=None):
    """
    File creation function - Get data for output file
    :param title: Element title
    :param k: Key value
    :param v: Value associated to the key
    :return: Dictionary with the [title], the key and the value
    """
    if title:
        return {'title': title, 'key': k, 'value': v}
    else:
        return {'key': k, 'value': v}
