update to add serialisation for new DYTThrObject class

+1
this is for the BOOSTIO branch, please merge.