Can serializing list of primitive type