Conversion
This function performs a conversion from a reference-like query parameter to one retaining ownership of the strings by making a copy. No validation is performed on the strings.
Linear in `this->key.size() + this->value.size()`.
Calls to allocate may throw.