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