If it's empty isn't already `{}`. Couldn't this be `options = options[0]['Options'] unless options.empty?`