docs: def write_source(self, filename):
          '''
          Save source to file by calling `write` on the root element.
          '''
          with open(filename, 'w') as fp:
              return json.dump(self.message._elem, fp, indent=4, sort_keys=True)