anchor.diff:                                'Object "$parent" is not a JSON object, but the '
                                 '"map" field contained a mapping to $parent.$name.');
                       }
  -                    (current as Map)[name] = req.uploadedFiles[key];
  +                    (current as Map)[name] = file;
                     }
                   }
                 } else {
  
positive.code:                               'Object "$parent" is not a JSON array, but the '
                                '"map" field contained a mapping to $parent.$name.');
                      }
                      (current as List)[int.parse(name)] = req.uploadedFiles[key];
                    } else {
                      if (current is! Map) {
                        throw AngelHttpException.badRequest(
  
negative.code:           }
            var variables = Map<String, dynamic>.from(globalVariables);
            for (var entry in (map as Map).entries) {
              var file = req.uploadedFiles
                  .firstWhere((f) => f.name == entry.key, orElse: () => null);
              if (file == null) {
                throw AngelHttpException.badRequest(
                    message:
                        '"map" contained key "${entry.key}", but no uploaded file '
                        'has that name.');
              }
              if (entry.value is! List) {
                throw AngelHttpException.badRequest(
                    message:
                        'The value for "${entry.key}" in the "map" field was not a JSON array.');
              }
              var objectPaths = entry.value as List;
              for (var objectPath in objectPaths) {
  