convert hash to JSON and populate pokemon.json