Refactoring how the generator manage package.json and the .bbb-rc.json files