Revert "Revert "switching back to original typestring""

This reverts commit 6488fac4813dced4faeb7ca87161323b4699a65e.