In this generated configuration file, the datatype of the integer-value of the integer-profile is string as of now.
This needs to be changed to an integer.
Following code needs to be tweaked ,
"integer-profile-configuration": {
"integer-value": profileInstance['configuration']['integer-value']
}