[refactor] removed toString() from type to avoid nullPointerExceptions
Merge pull request #84 from davidmoebius/type_toString

[refactor] removed toString() from type to avoid nullPointerExceptions