 		if child == nil {
 			child = [:]
 		}
-
+		
 		let tail = components.dropFirst()
 		setValue(value, forKeyPathComponents: tail, dictionary: &child!)
-
+		
 		dictionary[String(head)] = child
 	}
 }

			object(field, map: map)
		}
	}

	class func objectArray<N: BaseMappable>(_ field: Array<N>, map: Map) {
		let JSONObjects = Mapper(context: map.context).toJSONArray(field)
		

			setValue(x, map: map)
		}
	}
	
	class func optionalBasicType<N>(_ field: N?, map: Map) {
		if let field = field {
			basicType(field, map: map)
		} else {
			basicType(NSNull(), map: map)  //If BasicType is nil, emil NSNull into the JSON output
		}
	}
	
	class func object<N: BaseMappable>(_ field: N, map: Map) {
		if let result = Mapper(context: map.context).toJSON(field) as Any? {
			setValue(result, map: map)
