Problem with service: notify.persistent_notification

I’m having a problem with this service. When I go to the services tab on developer tools and select notify.persistent_notification and then select ‘fill example data’ and then press the call service button, I don’t get a persistent notification but I do get a very long ‘Unable to serialize to JSON. Bad data found’ error message in the log. What am I doing wrong?