Add string coercion to avoid crashes
Merge pull request #1 from antipax/master

Add string coercion to avoid crashes