The json parsing library that parses the config file allows either syntax. That was intentional since we get in the habit as go programmers of ending lines in structs/maps with commas, it's just for convenience.
https://nigeltao.github.io/blog/2021/json-with-commas-commen...
And while we're at it:
https://www.arp242.net/json-config.html
https://dzone.com/articles/why-json-isnt-a-good-configuratio...
https://revelry.co/insights/development/json-configuration-f...