Ensure JSON support for e.g. jruby, mri