anchor.diff:      misc:executing_on_new_process(
         fun () ->
                 lists:foreach(
  -                fun ({Table, Values}) ->
  -                        write_chunk_format(Resp, "per_node_ets_tables(~p, ~p) =~n",
  -                                           [Node, Table]),
  -
  -                        lists:foreach(
  -                          fun (Value) ->
  -                                  write_chunk_format(Resp, "     ~p~n", [Value])
  -                          end, Values),
  -
  -                        Resp:write_chunk(<<"\n">>)
  +                fun ({{Table, Info}, Values}) ->
  +                        print_ets_table(Resp, Node, Table, Info, Values);
  +                    ({Table, Values}) ->
  +                        print_ets_table(Resp, Node, Table, [], Values)
                   end, EtsTables)
         end),
   
  
positive.code:     DiagNoStats = lists:keydelete(stats, 1, PerNodeDiag),
      do_handle_per_node_ets_tables(Resp, Node, DiagNoStats).
  
  do_handle_per_node_ets_tables(Resp, Node, PerNodeDiag) ->
      EtsTables0 = proplists:get_value(ets_tables, PerNodeDiag, []),
      EtsTables = case is_list(EtsTables0) of
  
negative.code: 
  prepare_ets_table(_Table, failed) ->
      [];
  prepare_ets_table(Table, {Info, Content}) ->
      [{{Table, Info}, sanitize_ets_table(Table, Content)}].
  
  sanitize_ets_table(ui_auth_by_token, _Content) ->
      ["not printed"];
  sanitize_ets_table(ui_auth_by_expiration, _Content) ->
      ["not printed"];
  sanitize_ets_table(xdcr_stats, Content) ->
      xdc_rep_utils:sanitize_state(Content);
  sanitize_ets_table(remote_clusters_info, Content) ->
      sanitize_remote_clusters_info(Content);
  sanitize_ets_table(_, Content) ->
      Content.
  
  sanitize_remote_clusters_info(Content) ->
      misc:rewrite_tuples(
  