Fixing repond_with working directly on the options hash

This fixes an issue where the respond_with worked directly with the given
options hash, so that if a user relied on it after calling respond_with,
the hash wouldn't be the same.

Fixes #12029
Merge pull request #12083 from BlueHotDog/fixing_respond_with

Fixing repond_with working directly on the options hash