Changes encoding of JSON dictionaries and arrays to use UTF-8

This makes sense considering strings are forced to UTF-8 encoding. This
eliminates rails code that looks like:

```
def show
  respond_to do |format|
    format.json do
      render :json => {"foo" => "bar"}.to_json.force_encoding("utf-8")
    end
  end
end
```