support array serializer customization