code: func (n External) MarshalYAML() (interface{}, error) {
  	if n.Name == "" {
  		return n.External, nil
  	}
  	return map[string]interface{}{
  		"name": n.Name,
  	}, nil
  }
docs: // MarshalYAML implements the Marshaller interface.