code: func ParseConfig(raw []byte, id string) (*Config, error) {
  	var result Config
  	if err := util.Unmarshal(raw, &result); err != nil {
  		return nil, err
  	}
  	return &result, result.validateAndInjectDefaults(id)
  }
docs: // ParseConfig returns a valid Config object with defaults injected. The id
  // and version parameters will be set in the labels map.