[widget] Fix array to string convertion when using renderId with an array as value