added a load method to load items from a json file