added message when generating json files and when the process finishes