NXP-12662: support previous widget properties for user suggestion display
NXP-12644: use specific encoding functions in templates