decimals_count_distribution can't be serialized and this is causing the below exception.
Fortunately, it doesn't need to be serialized...
System.ArgumentException: .NET number values such as positive and negative infinity cannot be written as valid JSON.
Module "System.Text.Json.ThrowHelper", in ThrowArgumentException_ValueNotSupported
Module "System.Text.Json.Utf8JsonWriter", in WriteNumberValue
Module "System.Text.Json.JsonPropertyInfoNotNullable`4", in OnWrite
Module "System.Text.Json.JsonSerializer", in Write
Module "System.Text.Json.JsonSerializer", in WriteAsyncCore
...
(27 additional frame(s) were not displayed)
decimals_count_distribution can't be serialized and this is causing the below exception.
Fortunately, it doesn't need to be serialized...