Pre process results before storing in tags.
PR for master-10.10: #342
PR for master: #339
PR for master: #457