agent/config/conditional.go
func (b Conditional) MarshalJSON() ([]byte, error) {
	switch b {
	case ExplicitlyEnabled:
		return json.Marshal(true)
	case ExplicitlyDisabled:
		return json.Marshal(false)
	default:
		return json.Marshal(nil)
	}
}
func (b Conditional) MarshalJSON() ([]byte, error) {
	switch b {
	case ExplicitlyEnabled:
		return json.Marshal(true)
	case ExplicitlyDisabled:
		return json.Marshal(false)
	default:
		return json.Marshal(nil)
	}
}
// MarshalJSON is used to serialize the type to json, per the Marshaller interface