         
         dict[.tasks] = tasks.jsonSerialize().map { $0.object }
         dict[.taskSegments] = taskSegments.jsonSerialize().map { $0.object }
-        dict[.name] = name
-        dict[.creationDate] = rfc3339StringFrom(date: creationDate)
-        dict[.updateDate] = rfc3339StringFrom(date: updateDate)
         
         return dict.mapToJSON()
     }

    /// List of task segments registered for the tasks above
    var taskSegments: [TaskSegment] = []
    
    /// Display name for this task list
    var name: String
    
    /// Datetime at which this task list was created
    var creationDate: Date
    
    /// Last date at which this task list was modified
    var updateDate: Date
    
    /// Convenience initializer that inits an empty task list, with a creation/update date set to now
    init(name: String) {
        self.name = name
        self.creationDate = Date()
        self.updateDate = self.creationDate
    }
}


    enum JsonKey: String, JSONSubscriptType {
        case tasks
        case taskSegments = "task_segments"
        
        var jsonKey: JSONKey {
            return JSONKey.key(self.rawValue)
