**Is your feature request related to a problem? Please describe.** ML.Tokenizers project is not [Aot compatible](https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=windows%2Cnet8). **Describe the solution you'd like** ML.Tokenizers project needs to use [SourceGenerationContext](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation?pivots=dotnet-8-0).