'Unregister registered encoder/decoder.
Arguments:
name (str): Registered serialization method name.
Raises:
SerializerNotInstalled: If a serializer by that name
cannot be found.'

def unregister(self, name):

    try:
        content_type = self.name_to_type[name]
        self._decoders.pop(content_type, None)
        self._encoders.pop(name, None)
        self.type_to_name.pop(content_type, None)
        self.name_to_type.pop(name, None)
    except KeyError:
        raise SerializerNotInstalled(u'No    encoder/decoder    installed    for    {0}'.format(name))
