anchor.diff:  	#product_instance{characteristics = NewChars} = product({struct, [Chars]}),
   	NewProdInst = ProdInst#product_instance{characteristics = NewChars},
   	subscriber(T, Acc#subscriber{product = NewProdInst});
  -subscriber([_ | T], Acc) ->
  +subscriber([_A | T], Acc) ->
   	subscriber(T, Acc);
   subscriber([], Acc) ->
   	Acc.
   %% @hidden
   subscriber([name | T], #subscriber{name = Name} = Subscriber, Acc) ->
  -	subscriber(T, Subscriber, [{"name", binary_to_list(Name)} | Acc]);
  +	Id = {"id", binary_to_list(Name)},
  +	Href = {"href", ?subscriberPath ++ binary_to_list(Name)},
  +	subscriber(T, Subscriber, [Href, Id | Acc]);
   subscriber([password | T], #subscriber{password = Password} = Subscriber, Acc) ->
   	subscriber(T, Subscriber, [{"password", binary_to_list(Password)} | Acc]);
   subscriber([attributes | T], #subscriber{attributes = []} = Subscriber, Acc) ->
  
positive.code: subscriber([attributes | T], #subscriber{attributes = undefined} = Subscriber, Acc) ->
  	subscriber(T, Subscriber, Acc);
  subscriber([attributes | T], #subscriber{attributes = Attributes} = Subscriber, Acc) ->
  	subscriber(T, Subscriber, [{"attributes", radius_to_json(Attributes)} | Acc]);
  subscriber([buckets | T], #subscriber{buckets = Buckets} = Subscriber, Acc) ->
  	subscriber(T, Subscriber, [{"totalBalance", accumulated_balance(Buckets)} | Acc]);
  subscriber([product | T], #subscriber{product = Product} = Subscriber, Acc) ->
  
negative.code: 	bucket(T, Bucket, [{"terminationDate", ocs_rest:iso8601(TDate)} | Acc]);
  bucket([remain_amount | T], #bucket{remain_amount = Amount} = Bucket, Acc) ->
  	bucket(T, Bucket, [{"remainAmount", Amount} | Acc]);
  bucket([_A | T], Bucket, Acc) ->
  	bucket(T, Bucket, Acc);
  bucket([], _Bucket, Acc) ->
  	{struct, Acc}.
  