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

    enum CodingKeys: String, CodingKey {
        case url
        case bookmark
        case metadata
        case name
        case color
        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 name = try? container.decode(String.self, forKey: .name)
        let color = try container.decode(Color.self, forKey: .color)
        let metadata = try container.decode(Metadata.self, forKey: .metadata)
        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)
