More fixes in tests for JRuby
List json gem as dependency