get info from json file