Improvement for getting module.json file