As Claudio said, if you don't need to search on them then storing the
data as a single binary field is probably the most compact way.
Storing them as an array has the overhead of storing fields names as
strings of the ordinal position for each element plus the overhead of
the types. A raw binary serialization from your class/language might
be much more succinct, and you could always compress the field as
well.