Problem: generating incorrect code for strings type

Solution: fix the template.
Merge pull request #187 from hintjens/master

Problem: generating incorrect code for strings type