spec serializer