JSON to YAML and vice versa