The Csv writer relies on Newtonsoft.Json for a lot of the writing, which forces it to be included. As of .NET Core 3.0, is not required. and this can be searched for the first non-null instance.