Export whole template object