anchor.diff:  
   -export([do/1]).
   
  --export([attach/1, detach/0, attached_node/0]).
  -
  --record(state, {document_root, node, utc_log = false}).
  -
  -%=======================================================================================================================
  -% public interface
  -%=======================================================================================================================
  --spec attach(node()) -> ok.
  -attach(Node) ->
  -   gen_server:call(rbx_inets, {attach, Node}).
  -
  --spec detach() -> ok.
  -detach() ->
  -   gen_server:cast(rbx_inets, detach).
  -
  --spec attached_node() -> atom().
  -attached_node() ->
  -   gen_server:call(rbx_cons, attached_node).
  +-record(state, {document_root, nodes, utc_log = false}).
   
   %=======================================================================================================================
   % gen_server interface functions
  
positive.code: %=======================================================================================================================
  % inets httpd callbacks
  %=======================================================================================================================
  do(#mod{request_uri = Uri, entity_body = Query}) when Uri == "/rescan" ->
     Response = rescan(Query),
     {proceed, [{response, {200, Response}}]};
  do(#mod{request_uri = Uri, entity_body = Query}) when Uri == "/get_reports" ->
     Response = get_reports(Query),
     {proceed, [{response, {200, Response}}]};
  do(#mod{request_uri = Uri, entity_body = RecList}) when Uri == "/get_sel_reports" ->
     Response = get_sel_reports(RecList),
  
negative.code: list_to_json([Last], UtcLog, Fun, Acc) ->
     lists:concat([Acc, Fun(Last, UtcLog), "]"]);
  list_to_json([H|T], UtcLog, Fun, Acc) ->
     list_to_json(T, UtcLog, Fun, lists:concat([Acc, Fun(H, UtcLog), ","])).
  