added a functionality to create number of jsons