ENYO-1030: remove trailing commas in array