whoa.. hahahah. so the backend replaces all new lines with this string? this seems brittle.. I realize you must have played around a lot with new line encoding within the param string, but I wonder if there's a more stable way..

Indeed!! See comment below regarding client-side decoding of base64 encoded utf-8 strings.