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

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