def docfromnum(self, num): return {'_id': util.utype(num), 'num': int(num / 2)}
def _to_json(self, value): return util.utype(value)
def __unicode__(self): return util.utype(self.list)
def _to_python(self, value): return util.utype(value)