Wrap ViewField or ViewDefinition Rows.

def _wrap_row(cls, row):
        """Wrap ViewField or ViewDefinition Rows."""
        doc = row.get('doc')
        if doc is not None:
            return cls.wrap(doc)
        data = row['value']
        data['_id'] = row['id']
        return cls.wrap(data)