[HTMLTemplateElement] Change template.dat serialization format