Refactoring the serializers to be modules instead of classes, since they never get instantiated.