agent/taskresource/cgroup/cgroupstatus.go
func (cs *CgroupStatus) MarshalJSON() ([]byte, error) {
	if cs == nil {
		return nil, nil
	}
	return []byte(`"` + cs.String() + `"`), nil
}
func (cs *CgroupStatus) MarshalJSON() ([]byte, error) {
	if cs == nil {
		return nil, nil
	}
	return []byte(`"` + cs.String() + `"`), nil
}
// MarshalJSON overrides the logic for JSON-encoding the ResourceStatus type