[sr-dev] git:master: tm: do all the clean local msg structure in one place