code: def raw(self, tag, raw, metadata):
          
          raw = base64.b64encode(raw)
          return {
              'type': 'raw',
              'tag': tag,
              'raw': raw,
              'metadata': metadata
          }
docs: Create a raw response object