EncodingUtils: Fix bug in dataToHtml: Need to get the KeyName contentName.