The purpose of the 'to_hash_stream' function is that it will take an HashStream as parameter not a string.
We don't want the 's.with_hash' in this method