Efficient Cubbie serialization of IntSeq and DoubleSeq, for use in future DocumentStore.