I use JSON.net to serialize some objects between C# and JavaScript. The JSON data is transfered via WebSocket between the .NET and browser application.
In the data
Ref my answer, JSON.net can customze serialization in setting for all instead of attribute in property.
You can easily change it from base64 to number array, just write a square bracketed csv raw value.