getting data from json and displaying it