// JSON property name is same as in XML annotation, but class property name is different.
if(!element.name().equals(NULL) && elements.containsKey(element.name())){
writeMethod.invoke(object,
convert(propertyType, f.getType(), elements.get(element.name()),
writeMethod.getAnnotation(JSONWebService.class), writeMethod));
} else if (!element.defaultValue().equals(NULL) && isJSONPrimitive(propertyType)){
if(traceEnabled)
traceLog.info(String.format("Input do not have %s. Populating default value: %s. flag to populate: %b",
expectedJSONPropName, element.defaultValue(), createDefaultOnNonNullable));
writeMethod.invoke(object,
convert(propertyType, f.getType(), element.defaultValue(),