Switch item to understand true/false

If you cannot change the value of the JSON payload, I suggest you use proxy items: