def METHOD_NAME(text, line_length=0):
    if line_length:
        text_ls = []
        while len(text) > line_length:
            text_ls.append(text[:line_length])
            text = text[line_length:]
        if text:
            text_ls.append(text)
        text = '\n  '.join(text_ls)
    # text = text.replace('.', '.\n')
    # text = text.replace(']', ']\n')
    text = text.replace("\n", "\\n")
    text = text.replace('"', '\\"')
    return text