Microsoft.ML 5.0.0 is using a third party library (Newtonsoft) to do JSON serialization instead of simply using System.Text.Json.