Add "," for the last element of an array