'Create a serializer based on the given WSGI environment.
\'metadata\' is an optional dict mapping MIME types to information
needed to serialize a dictionary to that type.'

def __init__(self, metadata=None):

    self.metadata = (metadata or {})
