code: public <T> T getAsTypeWithDefault(Class<T> type, String key, T defaultValue) {
  		Object value = getAsObject(key);
  		return TypeConverter.toTypeWithDefault(type, value, defaultValue);
  	}
docs: Converts map element into a value defined by specied typecode. If conversion
  is not possible it returns default value.
  
  @param type         the Class type that defined the type of the result
  @param key          a key of element to get.
  @param defaultValue the default value
  @return element value defined by the typecode or default value if conversion
  is not supported.
  
  @see TypeConverter#toTypeWithDefault(Class, Object, Object)