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 create(self):
        self._set_changed_options()
        if self.client.check_mode:
            return True
        if self.want.base_key is None:
            raise F5ModuleError(
                "You must specify a 'base_key' when creating a license pool"
            )
        self.create_on_device()
        return True