reading json file and displaying card interface