Output Response Shape

Oobserverly5/25/2023
I'm wondering, is the output response shape locked in, or can we modify it in any way? For example:

{
  "result": {
    "data": {
      "json": {
        "count": 1,
        "results": [...]
      }
    }
  }
}


I'd prefer it to be in a different format as we are migrating an older API to tRPC, and we want to give existing legacy services that interact with the API non-breaking changes, i.e., such that the json response is structured like:

{
  "count": 1,
  "results": [...]
}