Cache template serialization object