Reformating inventory.xml