Improvements to importexport tool, which should make it useful as a data backup tool in OMS+KNOT (OMS-609)