persist template parameter data type during deserialization
update unit tests
fix a typo in the test name
Merge pull request #2593 from yugangw-msft/csmtemplate2

persist template parameter data type during deserialization