Turn JSON into YAML 1.2 for config files. true and false stay booleans; the word yes stays text.
YAML is easier to diff and to comment by hand, which is why Docker Compose, GitHub Actions and Kubernetes use it. This page emits YAML 1.2. Booleans are true and false. The word yes is not a boolean. That matches current parsers and avoids the old surprise where a country code or a feature flag called yes turned into true.
Values that look like booleans, numbers, dates, or that contain : # or leading spaces are quoted so a parser cannot reinterpret them.
Not on this direction. JSON has no comments, so there is nothing to keep. Add comments after you paste the YAML.