Cleaning up inventory and backpack parsing