Description of problem: While testing a CLI script that was fetching file contents from the server as a string, I discovered that new line and tab characters were getting converted to single spaces. After some investigation I determined that this is happening in the JBoss Remoting code. The following is the only possibly relevant issue I came across, https://issues.jboss.org/browse/JBREM-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel Note that this only appear to be an issue when sending strings from server to CLI, not from CLI to server. Nor does it appear to be an issue going from server to agent. I haven't tested going from agent to server. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: