def _tuples_to_dict(meta, header, tagged_parts):
    """ Convert a dictionnary and list of tuples into dictionnary """
    structured_message = {}
    structured_message['meta'] = meta
    structured_message['structured_text'] = {}
    structured_message['structured_text']['header'] = header
    structured_text = []
    for part, tag in tagged_parts:
        dict_message = {}
        dict_message['part'] = part
        dict_message['tags'] = tag
        structured_text.append(dict_message)
    structured_message['structured_text']['text'] = structured_text
    return structured_message
