code: public AnyValueArray getAsArrayWithDefault(String key, AnyValueArray defaultValue) {
  		AnyValueArray result = getAsNullableArray(key);
  		return result != null ? result : defaultValue;
  	}
docs: Converts map element into an AnyValueArray or returns default value if
  conversion is not possible.
  
  @param key          a key of element to get.
  @param defaultValue the default value
  @return AnyValueArray value of the element or default value if conversion is
  not supported.
  
  @see AnyValueArray
  @see #getAsNullableArray(String)