Resolve issue with escaping of ampersands with jruby