def value_decode(self, val): strval = _unquote(val) try: return loads(strval), val except: return strval, val