Instead of keying off a list of exchanges, why not key off the actual key's in the 'topics' dict? The values have to match anyways, so removing the 'exchanges' list would simply the code and the config.