     return json
 }
 
-private func mapToJson<T, U: Mapping>(_ json: JSONValue, fromField field: T?, viaKey key: Keypath, mapping: U) throws -> JSONValue where U.MappedObject == T {
+private func map<T, U: Mapping>(to json: JSONValue, fromField field: T?, viaKey key: Keypath, mapping: U) throws -> JSONValue where U.MappedObject == T {
     var json = json
     
     guard let field = field else {


// MARK: - To JSON

private func mapToJson<T: JSONable>(_ json: JSONValue, fromField field: T?, viaKey key: JSONKeypath) -> JSONValue where T == T.ConversionType {
    var json = json
    
    if let field = field {

        switch map.context.dir {
        case .toJSON:
            let json = map.context.json
            try map.context.json = Crust.map(to: json, fromField: field, viaKey: map.key, mapping: map.key.mapping)
            
        case .fromJSON:
            let fieldCopy = field
