Revert "Don't specify behavior not supported by gson"

This reverts commit db0d8801e0bb156feeec1521f07a02e0a7b384eb.
Don't test to_json behavior on gson.rb
Don't test Oj vulnerability on JRuby
Fix specs on JRuby