core: replace brackets by underscores in the topic of resource events