Convert JSON spec to YAML, add YAML parsing support