There's no reason to store such a sophisticated hash structure. It's enough to store a 2-item array: `[pattern, replacement]`.

Also, don't use class variable `@@filter`. They are shared between all instances of Faraday Logger, meaning separate Faraday connections configured with logging would share the same filters. Use an ordinary instance variable.