Using a http service to fetch data from json.