To make things easier I would recommend using the “output: attribute” setting in zigbee2mqtt. With that option each attribute will get it’s own message so you don’t need json transformations anymore.
And the web-GUI is another essential feature of zigbee2mqtt if you haven’t discovered it yet.
You can find many examples in the discussions here: