Also, the data in service calls does work with yaml, not json. AFAIK it hasn’t used json for some time, so you may have seen some old documentation.
The link I sent in last message is pretty thorough in covering lots of use cases for sending notifications.