rename isTDT_TOT to isTime
add ToJSON instances
fix failure at Raw descriptor.