HORNETQ-1325 : listMessagesAsJSON method fails to list messages if the filter property contians \n character.
Merge pull request #1576 from gaohoward/hq1325_master

HORNETQ-1325 : listMessagesAsJSON method fails to list messages if the filter property contains \n character.