All good points. My philosophy to address same is to employ test suites as a form of sanity checking for JSON/YAML/XML/et al configuration resources.
Still, it would have been nice if YAML had reduced the surface area to verify in order to establish confidence in its content.