Added tbt output datatype
#396

JoschD wants to merge tbt_output_datatype into master

We do not currently have an analysis of these two commits