anchor.diff:  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(T, Subscriber, [{"attributes", {array, 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) ->
  
positive.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([_ | T], Bucket, Acc) ->
  	bucket(T, Bucket, Acc);
  bucket([], _Bucket, Acc) ->
  	{struct, Acc}.
  
negative.code: 	{struct, subscriber(record_info(fields, subscriber),
  		Subscriber, [])}.
  %% @hidden
  subscriber([{"id", Name} | T], Acc) ->
  	subscriber(T, Acc#subscriber{name = list_to_binary(Name)});
  subscriber([{"password", Password} | T], Acc) ->
  	subscriber(T, Acc#subscriber{password = list_to_binary(Password)});
  subscriber([{"attributes", {array, Attributes}} | T], Acc) ->
  	subscriber(T, Acc#subscriber{attributes = json_to_radius(Attributes)});
  subscriber([{"multisession", Multi} | T], Acc) ->
  	subscriber(T, Acc#subscriber{multisession = Multi});
  subscriber([{"enabled", Enabled} | T], Acc) ->
  	subscriber(T, Acc#subscriber{enabled = Enabled});
  subscriber([{"product", _} = Product | T], #subscriber{product = undefined} = Acc) ->
  	subscriber(T, Acc#subscriber{product = product({struct, [Product]})});
  subscriber([{"product", _} = Product | T], #subscriber{product = ProdInst} = Acc) ->
  	#product_instance{product = ProdID} = product({struct, [Product]}),
  	NewProdInst = ProdInst#product_instance{product = ProdID},
  