code: func toYAML(m map[string]interface{}) (string, error) {
  	result, err := yaml.Marshal(m)
  	if err != nil {
  		return "", errors.Wrap(err, "toYAML")
  	}
  	return string(bytes.TrimSpace(result)), nil
  }
docs: // toYAML converts the given structure into a deeply nested YAML string.