Get inventory from json file