REFACTORING: Moved explicit response type checking below explicit serializer registration