Refactor Clash class for easier serialization/deserialization