def get_result_from_payload(json_resp):
    """Try to get result node from the payload."""
    assert json_resp is not None
    assert 'result' in json_resp
    # read the actual result
    return json_resp.get('result')