Sidekiq Web: If text contains invalid byte sequence, replace them instead of raising an exception

In my project, we encountered situations where many of our job hashes are encoded differently from UTF-8.  We still want the web UI to render in these cases though.