Found way to avoid extra comma at the end because of velocity foreach loop, implemented as trial for only entity attribute in app.'s