Serializing a dictionary with IConvertible values using Json.NET with the TypeNameHandling-flag Serializing a dictionary with IConvertible values using Json.NET with the TypeNameHandling-flag json json