public override object resolveValue(ObjectMapper objectMapper) { object value = base.resolveValue(objectMapper); if (value != null && value.GetType().IsAssignableFrom(typeof(Number))) { return(Variables.numberValue((Number)value)); } return(value); }