Added bugfix to read values to std::strings.