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