                     
                     let error = NSErrorPointer()
                     
-                    let jsonData = NSJSONSerialization.dataWithJSONObject(serverResponse.JSONResponse, options: self.jsonWritingOption(), error: error);
+                    let jsonData = NSJSONSerialization.dataWithJSONObject(serverResponse.JSONResponse!, options: self.jsonWritingOption(), error: error);
                     
                     // could not serialize json response, internal error
                     if (jsonData == nil) {

    
    /** A JSON-compatible array or dictionary that will be sent as a response. */
    
    let JSONResponse: AnyObject
    
    init(statusCode: ServerStatusCode, JSONResponse: AnyObject) {
        

                
                let errorPointer = NSErrorPointer()
                
                let jsonData = NSJSONSerialization.dataWithJSONObject(serverResponse.JSONResponse!, options: self.jsonWritingOption(), error: errorPointer)
                
                // could not serialize json response, internal error
                if (jsonData == nil) {
