For Home Assistant I added a web hook that takes the incorrectly serialized JSON, deserializes it and forwards it. This is the yaml for the "Then Do"
```
action: remote.send_command
target:
entity_id: "{{ (trigger.json | from_json).entity_id }}"
data:
command: "{{ (trigger.json | from_json).command }}"
num_repeats: 2
delay_secs: 0
hold_secs: 0
```