         fields["fields"] = json
         return fields
     }
+    
+    override var description: String {
+        return "IssueModel:key: \(key) id: \(id) project: \(project) issueTypeId: \(issueTypeId) summary: \(summary) issueDescription: \(issueDescription) assignee: \(assignee) reporter: \(reporter) priority: \(priority) labels: \(labels) environment: \(environment) components: \(components)"
+    }
 }


class IssueModel: NSObject {
    var key: String?
    var project: String?
    var issueTypeId: String?
    var summary: String?

    var labels: [String]?
    var environment: String?
    var components: [String : String]?
    
    func fromJSON(dict: Dictionary<String, Any>) {
        if let keyValue = dict["key"] as! String? {
            key = keyValue
        }
        if let idValue = dict["id"] as! String? {
            id = Int(idValue)
        }
    }
    
    func toJSON() -> Dictionary<String, Any> {
        var json = Dictionary<String, Any>()
