def save(self):
        tmp_path = self.path + '.tmp'
        with open(tmp_path, 'w') as f:
            f.write(json.dumps(self.body_labels.items()))
        os.rename(tmp_path, self.path)
def name(self):
        if self._values['name'] is None:
            return None
        name = str(self._values['name']).strip()
        if name == '':
            raise F5ModuleError(
                "You must specify a name for this module"
            )
        return name