api change: read(stringstream const& stream) instead of '&'