Support array serialization