The output of a Element API endpoint allows you to change the resourceKey which contains the json data. Is it possible to return just the data without a resourceKey at all?
Values such as null, false and empty string just default to data.
Not cleanly... the Fractal library that the Element API plugin uses to serialize that data has 'data'
hard-coded as the root element if no other resource key is passed in.