Many people prefer JSON to YAML. That's not a problem to have support for both formats. Loading priority should be:
- config.yaml
- config.json
And in case of both files present we should show WARNING, because it's really confusing to see two configs side by side.