Edit service provider
Fix bug when module.json is corrupted