<commit_before>using System.IO;
using System.Xml.Serialization;

namespace TIKSN.Serialization
{
    public class DotNetXmlSerializer : SerializerBase<string>
    {
        protected override string SerializeInternal(object obj)
        {
            var serializer = new XmlSerializer(obj.GetType());
            var writer = new StringWriter();
            serializer.Serialize(writer, obj);

            return writer.ToString();
        }
    }
}<commit_msg>Update DotNetXmlSerializer.cs<commit_after>using System.IO;
using System.Xml.Serialization;

namespace TIKSN.Serialization
{
    public class DotNetXmlSerializer : SerializerBase<string>
    {
        protected override string SerializeInternal<T>(T obj)
        {
            var serializer = new XmlSerializer(obj.GetType());
            var writer = new StringWriter();
            serializer.Serialize(writer, obj);

            return writer.ToString();
        }
    }
}
{'fraction_non_alphanumeric': 0.08848614072494669, 'fraction_numerical': 0.0, 'mean_word_length': 2.6254826254826256, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6638769', 'n_tokens_mistral': 246, 'n_tokens_neox': 241, 'n_words': 55}