[FIX] fixed adaption of std::string to use pointers and assume contiguous storage