Nest response from Server Actions

Is there a simple way of nesting the response from server actions ?
To something like this:

{
  "user": {
     "active_shift": [],
     "last_shifts": []
  },
}

image

Instead of:
image

Tried adding a repeat after user but more or less the same.
Possible to do in one big custom query ?

Community Page
Last updated: