I think the reason is because the file size keeps on growing as I add more sprites to it. This seems to be normal behavior when you think about it. Unless you make your code update the dimensions in the JSON file has the image file is loaded, I don't see how you can resolve this issue otherwise.
Now that I know how I can fix the issue manualy I wouldn't worry about it too much.
Best Regards,
Alain