code: func FixupChecks(raw interface{}, s *structs.Session) error {
  	rawMap, ok := raw.(map[string]interface{})
  	if !ok {
  		return nil
  	}
  	for k := range rawMap {
  		if strings.ToLower(k) == "checks" {
  			// If they supplied a checks key in the JSON, then
  			// remove the default entries and respect whatever they
  			// specified.
  			s.Checks = nil
  			return nil
  		}
  	}
  	return nil
  }
docs: // FixupChecks is used to handle parsing the JSON body to default-add the Serf
  // health check if they didn't specify any checks, but to allow an empty list
  // to take out the Serf health check. This behavior broke when mapstructure was
  // updated after 0.9.3, likely because we have a type wrapper around the string.