title: how do I get Mirth connectorMessage.getRawData to return a string?
body: <p>I am trying to get the string representation of the HL7 message input to a channel. Documentation says</p>
  <p><code>var myMessage = connectorMessage.getRawData()</code></p>
  <p>should give me the original unparsed HL7 message. However the type of the data returned is an object and not a string. I tried using <code>.toString()</code> but that doesn't work either. My javascript library code that expects a string and be able to split it fails because what's returned is not a string.</p>
  <p>How do I get the original HL7 message string?</p>