Add support for flat-modules generation in project.json.