For jruby we receive an instance of ArrayList which brings us 
```ruby
value.is_a?(Array)
=> false
```
Thus we have to use the power of duck typing and make sure that `value` responds to map and we can treat it as an array.