docs: def as_raw(self):
          """
          Return a representation of this object that can be used with mongoengine Document.objects(__raw__=x)
          Example:
  
          >>> stream_id = StreamId(name='test', meta_data=((u'house', u'1'), (u'resident', u'1')))
          >>> stream_id.as_raw()
          {'stream_id.meta_data': [(u'house', u'1'), (u'resident', u'1')], 'stream_id.name': 'test'}
  
          :return: The raw representation of this object.
          """
          return dict(('stream_id.' + k, v) for k, v in self.as_dict().items())