def format_city(city):
  """
  Format city object in a human-readable string.
  """
  address = city['address']
  city = address.get('formattedAddress', '')
  county = address.get('adminDistrict2', '')
  country = address.get('countryRegion', '')
  return "{city}, {county} in {country}".format(city=city, county=county, country=country)