Map<String, dynamic> toJson() => withoutNulls({ 'subjectSelector': subjectSelector, 'pingConfig': healthCheck.toJson(), });