     public var fileGroups: [String]
     public var configFiles: [String: String]
     public var include: [String] = []
+    private var targetsMap: [String: Target]
 
     public init(
         basePath: Path,

        } else {
            options = SpecOptions()
        }
    }

    static func filterJSON(jsonDictionary: JSONDictionary) throws -> JSONDictionary {

        self.basePath = basePath
        self.name = name
        self.targets = targets
        self.targetsMap = Dictionary(uniqueKeysWithValues: self.targets.map { ($0.name, $0) })
        self.configs = configs
        self.settings = settings
        self.settingGroups = settingGroups
