Changed Serialisation code. Now works on Settlements