def clean_walkscore(walkscore_details: dict) -> dict:
    """Extracts the desired walkscore information for API return.

    Args:
        walkscore_details (dict): Collected walkscore payload

    Returns:
        dict: Key items desired from walkscore
    """
    return {
        "walkscore": walkscore_details.get("walkscore", None),
        "summary": walkscore_details.get("description", ""),
        "transit": walkscore_details.get("transit", {}),
    }