Now removes uninstalled modules from module.json