clean generator.json for module generator