         let bodyStreamJsonData = try? NSJSONSerialization.dataWithJSONObject(sortedStreamDictionary, options: NSJSONWritingOptions())
         let bodyJsonData = try? NSJSONSerialization.dataWithJSONObject(sortedBody, options: NSJSONWritingOptions())
         
-        guard bodyStreamJsonData == bodyJsonData else { return false }
+        guard bodyStreamJsonData == bodyJsonData else {
+            return false
+        }
         
         return api(method, uri)(request: request)
     }

            return false
        }
        
        guard let streamDictionary = streamJsonObject as? [String: AnyObject] else { return false }
        
        let sortedStreamDictionary = sortDictionary(streamDictionary)
        let sortedBody = sortDictionary(body)

public func api(method: HTTPMethod, _ uri: String, body: [String: AnyObject]) -> (request: NSURLRequest) -> Bool {
    return { request in
        // https://github.com/kylef/Mockingjay/issues/32
        guard let stream = request.HTTPBodyStream else {
            return false
        }
        
        stream.open()
        
