code: func (u Ulimits) MarshalYAML() (interface{}, error) {
  	ulimitMap := make(map[string]Ulimit)
  	for _, ulimit := range u.Elements {
  		ulimitMap[ulimit.Name] = ulimit
  	}
  	return ulimitMap, nil
  }
docs: // MarshalYAML implements the Marshaller interface.