Make JsConfig<T>.TreatValueAsRefType static and JsConfig.TreatValueAsRefType public with test