removing unnecessary typedef
changes to make sure we copy strings correctly from
python to C++