anchor.diff:  						ocs:update_password(Id, NewPassword),
   						{NewPassword, CurrentAttr}
   				end,
  -				Attributes = {struct, radius_to_json(RadAttr)},
  +				Attributes = {array, radius_to_json(RadAttr)},
   				RespObj =[{id, Id}, {href, "/ocs/v1/subscriber/" ++ Id},
   					{password, Password}, {attributes, Attributes}, {balance, Bal},
   					{enabled, Enabled}],
  
positive.code: 		{ok, PWBin, Attributes, Balance, Enabled} ->
  			Password = binary_to_list(PWBin),
  			JSAttributes = radius_to_json(Attributes),
  			AttrObj = {struct, JSAttributes}, 
  			RespObj = [{id, Id}, {href, "/ocs/v1/subscriber/" ++ Id},
  				{password, Password}, {attributes, AttrObj}, {balance, Balance},
  				{enabled, Enabled}],
  
negative.code: 				{_, Type} = lists:keyfind("update", 1, Object),
  				{Password, RadAttr} = case Type of
  					"attributes" ->
  						{_, {array, AttrJs}} = lists:keyfind("attributes", 1, Object),
  						NewAttributes = json_to_radius(AttrJs),
  						ocs:update_attributes(Id, NewAttributes),
  						{CurrentPwd, NewAttributes};
  