I’m with @descartes here as for: what’s the problem? But maybe it’s below:
That doesn’t look right. See also A Python program to listen to your devices with MQTT which uses:
…and:
(Where hopefully payload_plain is not plain text.)
See also What to do with the raw payload via MQTT?
(And please see also How do I format my forum post? [HowTo])