src/transformers/data/processors/utils.py/InputFeatures/to_json_string
class InputFeatures:    def to_json_string(self):
        """Serializes this instance to a JSON string."""
        return json.dumps(dataclasses.asdict(self)) + "\n"