def __str__(self): return json.dumps(attr.asdict(self, filter=lambda _attr, value: value is not None))