Moved response type checking to preserve explicit serializer registration