Convert YAML to JSON CloudFormation templates and vice versa