@Badger below is the content of the message in the stdout
"message" => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document>\n <student> \n <Id>12345678</Id>\n </student>\n <recordTarget>\n <role> \n
.....
...... have multiple internal tags....
</role>\n </recordTarget>\n </Document>\n"