Small fix to enable serializing and removing non ASCII char