src/transformers/modelcard.py/ModelCard/to_json_string
class ModelCard:    def to_json_string(self):
        """Serializes this instance to a JSON string."""
        return json.dumps(self.to_dict(), indent=2, sort_keys=True) + "\n"