Use object's implicit toString() to avoid potential NullPointerException.
Merge pull request #49 from edmodo/master

Use object's implicit toString() to avoid potential NullPointerException.