[Fix] do not insert a trailing comma for chopped arrays

                    
|Q            |A   |
|---          |--- |
|Bug Fix?     |yes |
|New Feature? |n   |
|BC Breaks?   |n   |
|Deprecations?|n   |
|Tests Pass?  |yes |
|Fixed Tickets|#604|
|License      |MIT |
|Doc PR       |    |
                    
Yes I know :) its actually a bit more then just tho three.