Generate output filename by replacing .json extension with .yml If no .json extension is found, append .yml to the filename
The input JSON file path
The generated output YAML file path
Generate output filename by replacing .json extension with .yml If no .json extension is found, append .yml to the filename