Displaying inventory in correct categories from json file