def convert_cache_variables(cache_json: list) -> dict:
    """
    Convert list of cache variables returned by server to dictonary without unnecessary information.

    cache_json is 'cache' object from response to 'cache' request.
    """
    return dict((entry['key'], entry['value']) for entry in cache_json)