It´s defined in the XData.Web.JsonDataset:
My idea was to copy data from the TFDMemTable to a TXDataJsonDataset in the Service and then send the TXDataJsonDataset to the client.
TFDMemTable
TXDataJsonDataset