Fix JSON ErrorFormatter with backtrace rescue_options.

Use to_h to convert JsonError before merging.
Add spec to cover this case.