anchor.diff:  				{error, 400, Problem}
   		end
   	of
  -		{struct, _Attributes1} = NrfResponse ->
  -			ReponseBody = mochijson:encode(NrfResponse),
  +		{{struct, _} = NrfResponse1, LogRequest, LogResponse} ->
  +			ReponseBody = mochijson:encode(NrfResponse1),
   			ok = ocs_log:acct_log(diameter, server(),
   					start, LogRequest, LogResponse, undefined),
   			{200, [], ReponseBody};
  
positive.code: 		{error, _Reason} ->
  			{error, 500}
  	end.
  update_nrf(NrfRequest) ->
  	try
  		case mochijson:decode(NrfRequest) of
  			{struct, _Attributes} = NrfStruct ->
  
negative.code: update_nrf(RatingDataRef, NrfRequest) ->
  	case lookup_ref(RatingDataRef) of
  		true ->
  			update_nrf1(RatingDataRef, NrfRequest);
  		false ->
  			InvalidParams = [#{param => "{" ++ RatingDataRef ++ "}",
  					reason => "Unknown rating data reference"}],
  