anchor.diff:                             update_request_from_json(set, {struct, [{<<"increment">>, 5}]}, ?MOD_MAP)),
                 %% Context should be extracted properly
                 {ok, Set} = ?SET_TYPE:update({add_all, [<<"a">>, <<"b">>, <<"c">>]}, a, ?SET_TYPE:new()),
  -              BinContext = ?SET_TYPE:to_binary(?SET_TYPE:precondition_context(Set)),
  +              BinContext = riak_dt_vclock:to_binary(?SET_TYPE:precondition_context(Set)),
                 {struct, [_Type, _Value, {<<"context">>, JSONCtx}]} = fetch_response_to_json(set, ?SET_TYPE:value(Set),
                                                                                          BinContext,
                                                                                          ?MOD_MAP),
  
positive.code:                            ),
                ?assertMatch({struct, [_Type, _Value, {<<"context">>, Bin}]} when is_binary(Bin),
                             fetch_response_to_json(map, ?MAP_TYPE:value(Map),
                                                    ?MAP_TYPE:to_binary(?MAP_TYPE:precondition_context(Map)),
                                                    ?EMBEDDED_TYPES))
        end}
      ].
  
negative.code:                            fetch_response_to_json(set, ?SET_TYPE:value(Set), undefined, ?MOD_MAP)),
                ?assertMatch({struct, [_Type, _Value, {<<"context">>, Bin}]} when is_binary(Bin),
                             fetch_response_to_json(set, ?SET_TYPE:value(Set),
                                                    riak_dt_vclock:to_binary(?SET_TYPE:precondition_context(Set)),
                                                    ?MOD_MAP))
        end},
       {"encode map",
  