 extension ClinkPeer {
     public func toDict() -> [String: Any] {
         return [
-            "id": id.uuidString,
+            "id": id,
             "data": data
         ]
     }


extension Clink {
    public class Peer: ClinkPeer {
        public var id: UUID
        public var data: [String: Any]
        
        public required init?(dict: [String: Any]) {
            guard
                let idString = dict["id"] as? String,
                let id = UUID(uuidString: idString),
                let data = dict["data"] as? [String: Any]
                else {
                    return nil

            self.data = data
        }
        
        public required init(id: String) {
            self.id = id
            self.data = [:]
        }
