ClientEventInfo derived from a generic. So I tried to deserialize a JSON file with System.Text.Json.JsonSerializer.Deserialize<ClientEventInfo>("url"), but I get System.TypeInitializationException. Seems the generic can't be initialized. Is there a way around it? I don't know what's going on here.