Optional nit: It's a bit tricky because this assumes that the properties (`users` or `teams`) are not defined if it would be empty. Seems like this is something YAML does, but that is not necessarily known here 😄 

For more clarity and a more obvious check here, we could always set `users` and `teams` to an empty array if it's not defined.