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

                        
                        let jsonSerializationError = NSErrorPointer()
                        
                        let jsonData = NSJSONSerialization.dataWithJSONObject(serverResponse.JSONResponse, options: self.jsonWritingOption(), error: jsonErrorPointer)
                        
                        if (jsonData == nil) {
                            

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