Remove extra comma that breaks json validation