':param fields: a dict of whose keys will make up the final
serialized response output
:param envelope: optional key that will be used to envelop the serialized
response'

def __init__(self, fields, envelope=None):

    self.fields = fields
    self.envelope = envelope
