@lpwaterhouse Sure, correct me if I'm wrong, but JSON seems to have fewer of these gotcha moments.
It feels like YAML always tries to assume what your thing is supposed to be, instead of forcing you to do things.
The actual way would probably be some other alternative like dhall
@lpwaterhouse on the topic of that https://ruudvanasseldonk.com/2024/a-reasonable-configuration-language