fixed failing JSON decoding in rails 3-0-stable
Merge pull request #9126 from mbarb0sa/bugfix/json-decoding-in-rails-3-0-stable

fixed failing JSON decoding in rails 3-0-stable