[TSTR] introduce tstr_init for initializing tstrs (instead of manually setting fields)