Made convert_str use list instead of ndarray to fix unicode issues