Enable cache for array serializer