Added serialize support vs templateOptions