be explict about typecasting to string when necessary
bring a small computation out of a loop
Merge pull request #100 from dimagi/explicit-typecasting

Explicit typecasting
Merge branch 'master' into cleanup-is_excluded