cache typed serializer instances