1 [%- USE HTML %][% USE JSON %][
 
   2 [%- FOREACH customer = SELF.customers %]
 
   4    "value": [% customer.${SELF.value}.json %],
 
   5    "label": [% customer.displayable_name.json %],
 
   6    "id": [% customer.id.json %],
 
   7    "customernumber": [% customer.customernumber.json %],
 
   8    "name": [% customer.name.json %]
 
   9   }[% ',' UNLESS loop.last %]