def _convert_string(text):
    """
    Converts string into more appropriate form for reading and accessing.
    :param text: Text to be converted in a form of string.
    :return: List of strings or a dictionary in dependance of which form is preferable.
    """
    lines = text.split('\n')
    if 'Stack' in text:
        return text.split('\n')
    response = {'header': []}
    for line in lines:
        if line:
            if ':' not in line:
                response['header'].append(line)
            elif ':' in line:
                elements = line.split(':')
                if 'Attachments' in elements[0]:
                    response[elements[1].lstrip()] = elements[2].lstrip()
                else:
                    response[elements[0].lstrip()] = elements[1].lstrip()
    return response
