anchor.diff:  
   %% API
   -export([to_json/1, from_json/1]).
  +-export([translate_for_gui/1]).
   
   -include("time_series/browsing.hrl").
   
  
positive.code: 
  
  -spec from_json(json_utils:json_term()) -> record().
  from_json(#{<<"windows">> := SliceJson}) ->
      #time_series_slice_get_result{slice = 
          tsc_structure:map(fun(_TimeSeriesName, _MetricName, WindowsJson) ->
              lists:map(fun(#{<<"timestamp">> := Timestamp, <<"value">> := Value}) ->
  
negative.code: 
  -export_type([record/0, layout_result/0, slice_result/0]).
  
  
  %%%===================================================================
  %%% API
  %%%===================================================================
  
  
  -spec to_json(record()) -> json_utils:json_term().
  to_json(#time_series_layout_get_result{layout = Layout}) ->
      #{<<"layout">> => Layout};
  
  to_json(#time_series_slice_get_result{slice = Slice}) ->
      #{
          <<"slice">> => tsc_structure:map(fun(_TimeSeriesName, _MetricName, Windows) ->
              lists:map(fun({Timestamp, Value}) ->
                  #{
                      <<"timestamp">> => Timestamp,
  