use objects from json file