expand triggers to all document types
use a hash for triggers to easily avoid duplicates