fix for Array collection option

or
Hash[(0...collection.size).zip collection]
this variant is faster than first/last
```
require 'benchmark'
require 'benchmark/ips'

a = ['NO', 'YES']

Benchmark.ips do |x|
  x.report('first and last') do
    {'false' => a.first, 'true' => a.last}
  end

  x.report('simple hash') do
    {'false' => a[0], 'true' => a[1]}
  end
end

Calculating -------------------------------------
      first and last     62326 i/100ms
         simple hash     66642 i/100ms
-------------------------------------------------
      first and last  1422749.6 (±8.6%) i/s -    7105164 in   5.037237s
         simple hash  1602255.3 (±7.3%) i/s -    7997040 in   5.019717s
```