Refactored TypesafeConfigReader#dbNames

Maybe it is more readable than now.