anchor.diff:  %% @end 
   -spec get_and_add_id(JsonStruct::mochijson()) -> json_output_value().
   get_and_add_id(JsonStruct) ->
  -    %% erlang:display("+++++++++++++++++++111+++++++++++++++++++++"),
  -    %% erlang:display(to_string(JsonStruct)),
       Id  = get_field(JsonStruct, "_id"),
  -    %% erlang:display(Id),
  -    %% erlang:display("+++++++++++++++++++222+++++++++++++++++++++"),
       SourceJson  = get_field(JsonStruct, "_source"),
  -    %% erlang:display(SourceJson),
  -    %% erlang:display("+++++++++++++++++++444+++++++++++++++++++++"),
  -    P = add_value(SourceJson, "id", Id),
  -    %% erlang:display(P),
  -    %% erlang:display("+++++++++++++++++++333+++++++++++++++++++++"),
  -    P
  -    .
  +    add_value(SourceJson, "id", Id).
   
   %% @doc 
   %% Get the search results and performs get_and_add_id/1 on each
  
positive.code: %% "{\"attr1\":\"value1\"}"
  %% '''
  %% @end
  -spec add_value(Json::json(), Field::field(),Value::json_input_value()) -> json_string().
  add_value(Json, Field, Value)  ->
      NewJson  = parse_json(Json),
      Attrs    = parse_attr(Field),
      NewValue = parse_value(Value),
      format_output(add_value_internal(NewJson, Attrs, NewValue)).
  
  %% @doc 
  %% Decodes a json object into mochijson format.
  
negative.code: %% ====================================================================
  %% API functions
  %% ====================================================================
  %% @doc 
  %% Adds a new value to a field with the name 'Field' and the value 'Value' to a JSON object.
  %% If the field doesn't exist then it is added, but only if the Field path is valid. This 
  