write custom array adapter for the listview to handle JSONObject