Some code snippets and utilities faciliating bulk operations on TCMS (Nitrate)