code: private Map<String, String> getStrategyOptionsFromTree(Tree options)
      {
          //Check for old [{}] syntax
          if (options.getText().equalsIgnoreCase("ARRAY"))
          {
              System.err.println("WARNING: [{}] strategy_options syntax is deprecated, please use {}");
  
              if (options.getChildCount() == 0)
                  return Collections.EMPTY_MAP;
  
              return getStrategyOptionsFromTree(options.getChild(0));
          }
  
          // this map will be returned
          Map<String, String> strategyOptions = new HashMap<String, String>();
  
          // each child node is ^(PAIR $key $value)
          for (int j = 0; j < options.getChildCount(); j++)
          {
              Tree optionPair = options.getChild(j);
  
              // current $key
              String key = CliUtils.unescapeSQLString(optionPair.getChild(0).getText());
              // current $value
              String val = CliUtils.unescapeSQLString(optionPair.getChild(1).getText());
  
              strategyOptions.put(key, val);
          }
  
          return strategyOptions;
      }
docs: Used to get Map of the provided options by create/update keyspace commands
  @param options - tree representing options
  @return Map - strategy_options map