populate the ListView using the json returned by the api