List all inline keys used in the Vault with notes that use them

Things I have tried

dv.list(dv.pages(`"people"`).groupBy(p => p.Team).key)

However, this only targets one folder instead of the whole Vault (otherwise I get a maximum stack size exceeded error, probably because there are too many keys? But I have only a handful though…)

What I’m trying to do

I would like to maintain a consistent schema of keys in my Vault. It should look like this: