Get "data list" with API / curl for automation

Is there an easy way to get icinga “data lists” for automation, e.g. json-formated?

In the Browser, I’d use icingaweb2/director/data/listentry?list=customer_list
I’ve tried cingaweb2/director/data/listentry?list=customer_list&format=json, doesn’t make a difference

It would be perfect to get the results of icingacli director export datalists from remote.