Build hierarchical data structure for country/city