Encoding downlink


I’m following the tutorial: https://www.thethingsindustries.com/docs/integrations/payload-formatters/javascript/

I’m trying to write a payload encoder to send a downlink message to my device.

The downlink encode example with the collor array doesn’t seem to work for me.
I have the impression that I cannot read the json data entry.
See my example:

Whatever I try, even the exact code from the example, I seem to not be able to read the input data (input.data.color (or input.data.settings_id in this case))

I only get 00 as an respsonse

See here my second example trying the tutorial code.
No matter what color, string or even number I put in I will just get FF as a response

I was hoping someone could help me out on what I’m missing out on! Thanks