code: func (s streamConfig) properties() *streamproto.Properties {
  	if s.ContentType == "" {
  		// Choose content type based on format.
  		s.ContentType = string(s.Type.DefaultContentType())
  	}
  	return s.Properties()
  }
docs: // Converts command-line parameters into a stream.Config.