code: public String[] getStringArrayConfigAttribute(Map<String, Object> props, String key) {
          return trim((String[]) props.get(key));
      }
docs: Returns the value for the configuration attribute matching the key provided. If the value does not exist or is empty, the
  resulting value will be {@code null}.