updated to use convertToMandatoryType as data format implementation requires data in certain data type