Please supply a example flow with sample input data in an inject node and i will give you an example to omit last comma.