 		var mapped = [Key : U]()
 
 		for (key, value) in self {
-			if let newValue = f(value){
+			if let newValue = f(value) {
 				mapped[key] = newValue
 			}
 		}

	// MARK: Functions that create JSON from objects	
	
	///Maps an object that conforms to Mappable to a JSON dictionary <String : AnyObject>
	public func toJSON( object: N) -> [String : AnyObject] {
		var mutableObject = object
		let map = Map(mappingType: .ToJSON, JSONDictionary: [:])
		mutableObject.mapping(map)

	public func mapSet(JSONString: String) -> Set<N>? {
		let parsedJSON: AnyObject? = Mapper.parseJSONString(JSONString)
		
		if let objectArray = mapArray(parsedJSON) {
			return Set(objectArray)
		}
		
