Added item serialization to allow players to maintain inventories