YAML to JSON conversion