Fix result handling

> @driver.execute_script 'UIATarget.localTarget().frontMostApp().mainWindow().buttons()'
=> {"0"=>{}, "1"=>{}}

The above no longer triggers Selenium::WebDriver::Error::IndexOutOfBoundsError: