Wrong documentation / missing API field

The documentation for the webhook payloads clearly state that it should include the workspace object as part of the repository data:


But this is the payload I get for all of my webhooks repository data

  "repository": {

How can I get the workspace data and why is owner still sent out although it shouldn’t be (see api changes involving the switch to workspaces)?

I reported this to the bitbucket support, since this community seems to be a bit abandoned.
In case anyone is interested in the outcome: It turned out to be an acutal bug in the webhook implementation. You can follow the process here: https://jira.atlassian.com/browse/BCLOUD-20239