added serialization back to Item class