def deserialize(self, serialized_string):
        try:
            # Fix for Python3
            if type(serialized_string) == bytes:
                serialized_string = serialized_string.decode('utf-8')
        
            return self.backend.loads(serialized_string)
        except __HOLE__ as e:
            return dict(error=e.args[0])
dataset/ETHPy150Open datafolklabs/drest/drest/serialization.py/JsonSerializationHandler.deserialize