anchor.diff:          %% Create resource
           {Body, Req1} = wrq:req_body(Req),
           Data = jsx:decode(Body, [return_maps, {labels, atom}]),
  -        Props = lists:foldl(fun post_props/2, [], maps:to_list(Data)),
  +        Props = lists:foldl(fun process_props/2, [], maps:to_list(Data)),
           {ok, Id} = m_rsc:insert(Props, Context),
           %% Create edges
           lists:foreach(
  
positive.code:         Id = State#state.rsc_id,
          {Body, Req1} = wrq:req_body(Req),
          Data = jsx:decode(Body, [return_maps, {labels, atom}]),
          Props = lists:foldl(fun post_props/2, [], maps:to_list(Data)),
          EscapeText = true,
          case m_rsc:update(Id, Props, EscapeText, Context) of
              {ok, _} ->
  
negative.code:         end
      catch
          _:Error ->
              Msg = io_lib:format("An error occurred while patching the resource: ~p",
                                  [Error]),
              MsgWithStackTrace = io_lib:format("~s~n~p", [Msg, erlang:get_stacktrace()]),
              lager:error(MsgWithStackTrace),
  