undo C++ to-py helper functions rewrite as it lost the ability to extend the set of string-ishly convertible types