def to_dict(self, summary=False): json_obj = BuildRun.to_dict(self, summary=summary) json_obj.update({ 'uses_try_chooser': self.uses_try_chooser, # the authors 'used_trychooser': self.used_trychooser, # true / false }) return json_obj