.NET 6 introduced System.Text.Json.JsonSerializer which as the name suggests directly serializes JSON.
a quick c# test with a System.Collection.Generics.List of structs yields the result you want and i guess spread should look the same.
there are also a couple of blogposts by msft on how they spend time to optimize serialization performance on that JsonSerializer.