supress value - construct

I have my own Xdata-service

  TExhLead = class

TExhLeadList = TList<TexhLead>;

[HttpGet] function exhleads:TExhLeadList;

How can I supress the value construct in the output?

The function above returns a list of objects and not an object with a list inside. IMHO the { 'value' : ....} construct is wrong but I can not find the switch for the right output

Is there any way to do so? My consuming API don't expect an extra node.

Best regards

For now you can't disable it, unless you return a TJSONArray with the raw JSON array you want to return.
Or, you can return a TStream and then provide the raw JSON value you want to provide as the stream content.