Used promise to GET json file