def METHOD_NAME(self, renderer, data, accepted_media_type, renderer_context):
    try:
        content = super().METHOD_NAME(
            renderer, data, accepted_media_type, renderer_context
        )
    except ImproperlyConfigured:
        content = super().METHOD_NAME(
            JSONRenderer(), data, accepted_media_type, renderer_context
        )
    return content