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

                
                // MARK: HTTP Function Request Handler Block
                
                let functionExpression = "{^/" + path + "/(\\d+)/" + functionName + "}"
                
                let functionRequestHandler: RequestHandler = { (request: RouteRequest!, response: RouteResponse!) -> Void in
                    
                    
                    
                }
            }
        }
        

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