input: from typing import List, Dict
  import json
  
  def list_countries() -> List[Dict[str, str]]:
      """ Create a basic REST API using Python and Flask to list all the countries in the world.
      >>> list_countries()
      {'Albania': 'Tirana', 'Andorra': 'Andorra la Vella', 'Armenia': 'Yerevan', 'Austria': 'Vienna', ...}
      """
      with open('data.json', 'r') as f:
          countries = json.load(f)
      return countries
output:     with open('data.json', 'r') as f:
          countries = json.load(f)
      return countries