I'm trying to encode an MQTT message into JSON - the payload is a buffer converted to base24 and I'm using a template to add on some extra values but I'm getting an output like this
where the data is obviously not proper base64.
My template looks like this - what am I doing wrong?

