Ok I got it while I was writing the question I read the docs for Expression Objects
a bit more in depth, and figured it out:
$Utils.GetString(%msg%).Split(“\r\n”,true,true).Join(" ",“double”,true)$
I figured I’d still post it here along with the answer
just in case it helps anyone else in the future…