Why not just not use JSON for config? In a sane world YAML wouldn't even exist and everyone would use something like TOML.