The whole problem was wrong config of acl at the receiving end, the actual messages were denied, only allowing the log messages, which need the above parsing. When actual messages are received as well, the payload is available in those messages as it should.