fix #209 correct conversion from string to tuple and also convert from utf8 to default string type