Add perf improvements for JsConfig<T>.OnDeserializedFn / OnSerializingFn