Pass JSON object to call-service

Hey guys,

How do I pass a JSON object a entities call-service. Below is the call-service action within lovelace. I want to use the service_data attribute to pass in a JSON object to configure the recorder.purge.

- type: entities
    entities:
      - type: call-service
        icon: 'mdi:content-save'
        name: Purge DB
        service: recorder.purge