anchor.diff:              {error, Err}
       end.
   
  -cast_attributes(Attrs) ->
  -    cast_attributes(Attrs, []).
  -
  -cast_attributes([], Acc) ->
  +
  +render_attribute(A) ->
  +    Key = case occi_attribute:id(A) of
  +              K when is_atom(K) -> atom_to_binary(K, utf8);
  +              K -> K
  +          end,
  +    { Key, occi_attribute:value(A)}.
  +
  +parse_attributes(Attrs) ->
  +    parse_attributes(Attrs, []).
  +
  +parse_attributes([], Acc) ->
       lists:reverse(Acc);
  -cast_attributes([ {Key, #dbus_variant{value=Value} } | Tail ], Acc) ->
  -    cast_attributes(Tail, [ {?attr_to_atom(Key), Value} | Acc]).
  +parse_attributes([ {Key, #dbus_variant{value=Value} } | Tail ], Acc) ->
  +    parse_attributes(Tail, [ {?attr_to_atom(Key), Value} | Acc]).
  
positive.code: update(#state{proxy=Backend}=State, #occi_node{data=Entity}=Node) ->
      ?info("[~p] update(~p)~n", [?MODULE, Node]),
      Id = occi_node:id(Node),
      Attrs = [ { occi_attribute:get_id(A), occi_attribute:get_value(A)} 
                || A <- 
                       case Entity of
                           #occi_resource{} -> occi_resource:get_attributes(Entity);
  
negative.code:             Id = occi_node:objid(Node),
              case dbus_proxy:call(Backend, ?IFACE_BACKEND, <<"Load">>, [Id]) of
                  {ok, {_Id, Kind, Mixins, Attributes}} ->
                      Entity = occi_entity:new(occi_node:id(Node), Kind, Mixins, parse_attributes(Attributes)),
                      {{ok, occi_node:data(Node, Entity)}, State};
                  {error, Err} ->
                      {{error, Err}, State}
  