toUpload static method
Implementation
static toUpload(TrackedEntityAttributeValue attribute) {
return {
"attribute": attribute.attribute,
//Replace all helps to sanitize with double quoted strings i.e '"value"' from program rules if any
"value": attribute.value.replaceAll("\"", '')
};
}