Transformations of MQTT messages

I don’t see how you can avoid hardcoding this…

see another example of js transformation here: