convert YAML to JSON at the command line with js-yaml yamltojson some/file.yml yamltojson < some/file.yml