Serialization support for arrays.