def pretty_print_json(list_of_aqi_data: list) -> str:
    """
    Format the list of dict into a YAML like format for better readability
    in the SMS
    """
    messages = "\n"
    for index, aqi_item in enumerate(list_of_aqi_data, start=1):
        message = (
            f"\n{index}. State: {aqi_item['State']}\n"
            f"   City: {aqi_item['City']}\n"
            f"   Pollutant: {aqi_item['PollutantType']}\n"
            f"   AQI: {aqi_item['AQI']}\n"
        )
        messages += message

    return messages