def from_jsonb64(msg: str): return base64.decodebytes(msg.encode()) # TODO: monkeypatch is ugly but I'm in a hurry...