public bool ShouldSerializeCustomVariables() { return CustomVariables != null && CustomVariables.Count != 0; }