Order of keys cannot be assumed (fixes failure in JRuby)