Avoid comma after the last item of an array.