Implement serialising items to file
Fix TObjectHolder::GetId