def __init__(self, fields, envelope=None):
self.fields = fields<EOL>self.envelope = envelope<EOL>
: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