added simple serialisation / deserialisation to Size