Fix typo in serializer