<commit_before><commit_msg>added forgotten class for APIObject encoding<commit_after>import json
from pycrest.eve import APIObject
class FleetMemberEncoder(json.JSONEncoder):
    def default(self, obj):
        if isinstance(obj, APIObject):
            return obj._dict
        # Let the base class default method raise the TypeError
        return json.JSONEncoder.default(self, obj)
{'fraction_non_alphanumeric': 0.06753246753246753, 'fraction_numerical': 0.0, 'mean_word_length': 3.8860759493670884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1767114', 'n_tokens_mistral': 97, 'n_tokens_neox': 96, 'n_words': 33}