It would be more clear if you created a val with the namespaces before and use this val in the ExtractionJob

`val extractionJobNS = if(lang == Language.Commons) ExtractorUtils.commonsNamespacesContainingMetadata else config.namespaces`