code: func (version VersionOutputModel) JSON() string {
  	if version.FullVersion {
  		bytes, err := json.Marshal(version)
  		if err != nil {
  			return fmt.Sprintf(`"Failed to marshal version (%#v), err: %s"`, version, err)
  		}
  		return string(bytes) + "\n"
  	}
  
  	return fmt.Sprintf(`"%s"`+"\n", version.Version)
  }
docs: // JSON ...