Fixed potential JSON injection by using #to_json.
Fixed potential JSON injection by using #to_json.

square/rubygems.org,rubygems/rubygems.org-backup,square/rubygems.org,rubygems/rubygems.org-backup,square/rubygems.org,rubygems/rubygems.org-backup