added array serialization functionality