Fix typo in serializer.js