public override void Write(Utf8JsonWriter writer, Claim value, JsonSerializerOptions options)
        {
            var target = new ClaimLite
            {
                Type  = value.Type,
                Value = value.Value
            };

            JsonSerializer.Serialize(writer, target, options);
        }
        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
        {
            Claim source = (Claim)value;

            var target = new ClaimLite
            {
                Type  = source.Type,
                Value = source.Value
            };

            serializer.Serialize(writer, target);
        }