anchor.diff:  %% @doc 
   %% Get the search results and performs get_and_add_id/1 on each
   %% elements in the result list.
  +%% NOTE: Deprecated, use get_list_and_add_id/2 instead
   %%
   %% TODO Move to api_help
   %% @end 
  
positive.code:     HitsList = get_field(JsonStruct, "hits.hits"),
      AddedId = lists:map(fun(X) -> get_and_add_id(X) end, HitsList),
      set_attr(hits, AddedId).
  
  
  %% ====================================================================
  
negative.code: %% Specialized functions - Exports
  %% ====================================================================
  -export([get_and_add_id/1, 
  	 get_list_and_add_id/1,
       get_list_and_add_id/2
  	]).
  
  %% ====================================================================
  