change format of countries_population_energy.json to arrays