cleanup: use set literals where possible

Authored by martinvonz.