def resolve_json_response(json_response):
    """
    Resolves the json response for success or failure status and returns the correct
    response based on the outcome of said resolution

    :param json_response:       The json response gotten from a remote host, an overzealous typist
                                or some loosely available file
                                :type <type, 'str'>

    :return status:             The status of the json message which could be one of `success` or `failure`
                                :type <type, 'str'>
    """
    pass
