The setValue() fuction expect 'path' and 'value' or only 'value', so in these cases, the content was treated as a path and caused "Illegal character in leaf of property path" error