Added Serializing/Deserializing of ItemIds.