<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_cities(self):
 """Get a dictionary of cities keyed by geonameid."""


        if self.cities is None:
            self.cities = self._load_data(self.cities, 'cities.json')
        return self.cities