     enum CodingKeys: String, CodingKey {
         case url
         case bookmark
-        case metadata
         case name
         case color
+        case metadata
         case startTime
         case endTime
         case loops

        let container = try decoder.container(keyedBy: CodingKeys.self)
        let url = try container.decode(URL.self, forKey: .url)
        let bookmark = try? container.decode(Data.self, forKey: .bookmark)
        let metadata = try container.decode(Metadata.self, forKey: .metadata)
        let name = try? container.decode(String.self, forKey: .name)
        let color = try container.decode(Color.self, forKey: .color)
        let startTime = try container.decode(TimeInterval.self, forKey: .startTime)
        let endTime = try? container.decode(TimeInterval.self, forKey: .endTime)
        let loops = try container.decode(Bool.self, forKey: .loops)

        }
        
        self.bookmark = bookmark
        self.name = name
        self.color = color
        self.metadata = metadata
        self.startTime = startTime
        self.endTime = endTime
        self.loops = loops
