code: @SuppressWarnings("unchecked")
      public Map<String, Object> getOptionMap(String optName) {
          Object optValue = m_options.get(optName);
          if (optValue == null) {
              return null;
          }
          if (!(optValue instanceof Map)) {
              throw new IllegalArgumentException("Tenant option '" + optName + "' should be a map: " + optValue);
          }
          return (Map<String, Object>)optValue;
      }
docs: Get the value of the option with the given name as a Map. If the option is not
  defined, null is returned. If the option value is not a Map, an
  IllegalArgumentException is thrown.
  
  @param optName   Name of option to fetch.
  @return          Option value as a String-to-Object map or null if not defined.