Add default ctor for double/int
Serialize array elements immediately