Rather than using `dumps`, you can do the super first, and then `json.dump(self, data, ...)`