Remove JSON trailing comma