Write configuration file with indentation
Document --write-config -
Simplify write_json