Text this: On treatment of tuberculosis in heterogeneous populations