cleanup
output of exception-generator is a maps where each value might be a sequence or might be just a lexical entry: use listify to canonicalize the output of exception-generator so that every entry is a list.