anchor.diff:  %% Each line ends with literal '\n'
   %% @end
   %%--------------------------------------------------------------------
  --spec prepare_elasticsearch_batch(od_harvester:batch(), rejected_fields()) -> es_batch().
  +-spec prepare_elasticsearch_batch(od_harvester:batch(), {rejected_fields(), binary()}) -> es_batch().
   prepare_elasticsearch_batch(Batch, Rejected) ->
       Requests = lists:map(fun(BatchEntry) ->
           #{
  
positive.code:     #{?REJECTED_METADATA_KEY => json_utils:encode(Xattrs)};
  prepare_xattrs(Xattrs, Fields) ->
      ConvertedXattrs = convert_xattrs(Xattrs),
      lists:foldl(fun(RejectedField, Acc) ->
          kv_utils:remove(split_on_dot(RejectedField), Acc)
      end, ConvertedXattrs, Fields).
  
  
  
negative.code: convert_xattr(Key, Value, Map) ->
      KeyList = split_on_dot(Key),
      
      try put_xattr_value(KeyList ++ [<<"__value">>], Value, Map) catch
          throw:rejected ->
              RejectedList = maps:get(?REJECTED_METADATA_KEY, Map, []),
              Map#{?REJECTED_METADATA_KEY => [Key | RejectedList]}
  