@krames - That is tricky. What needs decoded (or not), just integers or strings? Maybe just something like:

```
if value.to_i.to_s == value
  value.to_i
else
  value
end
```