Apple has released Pkl (Pickle), a programming language for creating system configurations, as open source. By writing the configuration in Pkl, you can freely output it in JSON, YAML, Kotlin, Ruby, ...
There's more to the story than the alphabet.