`Hash[array]` didn't work because Hash needed to be called as `Hash[*array]`. Or, more simply, `array.to_h`.
6fbd7c23