anchor.diff:      MDList2 = vtag_meta(VTag, MDList1),
       MDList = meta_of_binary(MetaRestBin, MDList2),
       MD = dict:from_list(MDList),
  -    {#r_content{metadata=MD, value=decode(ValBin, Enc)}, Rest}.
  +    {#r_content{metadata=MD, value=decode_maybe_binary(ValBin)}, Rest}.
   
   deleted_meta(<<1>>, MDList) ->
       [{?MD_DELETED, "true"} | MDList];
  
positive.code:     {Elems, <<RestBin/binary, MetaBin/binary>>}.
  
  %% @doc Encode the contents of a riak object, either using
  %% term_to_binary (if Enc == erlang), or msgpack encoding (if Enc ==
  %% msgpack)
  encode(Bin, erlang) ->
      encode_maybe_binary(Bin);
  encode(Bin, msgpack) ->
      encode_msgpack(Bin).
  
  encode_msgpack(Bin) ->
      msgpack:pack(Bin, [{format, jsx}]).
  
  encode_maybe_binary(Bin) when is_binary(Bin) ->
      <<1, Bin/binary>>;
  encode_maybe_binary(Bin) ->
      <<0, (term_to_binary(Bin))/binary>>.
  
  %% @doc Decode the contents of a riak object, either using
  %% binary_to_term (if Enc == erlang), or msgpack decoding (if Enc ==
  %% msgpack)
  decode(ValBin, erlang) ->
      decode_maybe_binary(ValBin);
  decode(ValBin, msgpack) ->
      decode_msgpack(ValBin).
  
  decode_msgpack(ValBin) ->
      {ok, Unpacked} = msgpack:unpack(ValBin, [{format, jsx}]),
  
negative.code: -define(MAGIC, 53).      %% Magic number, as opposed to 131 for Erlang term-to-binary magic
                           %% Shanley's(11) + Joe's(42)
  -define(EMPTY_VTAG_BIN, <<"e">>).
  -define(MSGPACK_MAGIC, 2). %% Magic number for msgpack encoding
  
  -export([new/3, new/4, ensure_robject/1, ancestors/1, reconcile/2, equal/2]).
  -export([increment_vclock/2, increment_vclock/3, prune_vclock/3, vclock_descends/2, all_actors/1]).
  