Simplify tagging output, taking into account schema modules.