Added YAML to JSON functionality.