def _load_responses(self, method, data):
        try:
            data = json.loads(data)
        except __HOLE__:
            data = data

        responses = {}

        responses["xmlrpc"] = XMLRPCMethod(method, data)

        if self.jsonrpc:
            responses["jsonrpc"] = JSONRPCMethod(method, data)

        return responses
dataset/ETHPy150Open tomashanacek/mock-server/mock_server/methodslisting.py/RPCMethodsLoader._load_responses