def replace_rn(strobj):
    '\n    There are characters such as "\r" and "\n" that perform line breaks (or returns),\n    and these can create parsing dramas when reading/writing to disk.\n    This helper function mitigates this by replacing it with a benign alternative.\n    '
    return strobj.replace('\r', 'esc-r-').replace('\n', 'esc-n-')
