use JSON.parse instead of JSON.load to avoid failure on JRuby