currently .toString is returning duplicate type names. We should handle this in the same way it was dealt with in rust