code: public static String getElementName(ENamedElement element) {
  		String value = getValue(element, "JsonProperty", "value");
  		if (value == null) {
  			value = getValue(element, EXTENDED_METADATA, "name");
  		}
  
  		return value == null ? element.getName(): value;
  	}
docs: Returns the name that should be use to serialize the property.
  
  @param element
  @return name of property