def METHOD_NAME(lines, numberOfLinesToRemove: int = 2):
    dict = []
    positions = []
    keys = []
    # Remove the first 2 lines of the output (don't contain necessary information)
    lines = lines.split("\n", numberOfLinesToRemove)[-1]
    # Detect the columns of the text table
    # Simply look for three whitespaces as separator
    for line in lines.splitlines():
        keys = re.split(r"\s{3,}", line)
        for key in keys:
            pos = line.find(key)
            positions.append(pos)
        break
    # Remove the first line (the one with the keys)
    dataRows = lines.split("\n", 1)[-1]
    for row in dataRows.splitlines():
        i = 0
        dataInRow = convertStringToJson("{}")
        for key in keys:
            posStart = positions[i]
            posEnd = len(row)
            if i + 1 < len(positions):
                posEnd = positions[i + 1]
            value = row[posStart:posEnd]
            value = value.strip()
            dataInRow = addKeyValuePair(dataInRow, key, value)
            i = i + 1
        dict.append(dataInRow)
    json = dictToJson(dict)
    json = convertStringToJson(json)
    return json