Serializing a derived class with System.Text.Json - C#