def transform_misses(record):
    """Format the missed datasets record we got from the database to adhere to the response schema."""
    
    response = {}
    response["datasetId"] = dict(record).get("stableId")  
    response["internalId"] = dict(record).get("datasetId")
    response["exists"] = False
    # response["datasetId"] = ''  
    response["variantCount"] = 0
    response["callCount"] = 0
    response["sampleCount"] = 0
    response["frequency"] = 0 
    response["numVariants"] = 0 
    response["info"] = {"access_type": dict(record).get("accessType")}

    return response