code: public function load(Tenant $tenant)
      {
          $data = (array) json_decode(json_encode($tenant->getData()));
          $data['config'] = (array) $data['config'];
          $objects = Objects::parseFile($this->path, $data);
          $manager = $this->configService->getManager();
  
          foreach ($objects as $object) {
              $config = $this->configService->createInstance();
              $config
                  ->setOwner($object->owner)
                  ->setOwnerUuid($object->owner_uuid)
                  ->setKey($object->key)
                  ->setValue($object->value)
                  ->setTenant($object->tenant);
              $manager->persist($config);
              $manager->flush();
              $manager->detach($config);
          }
      }
docs: {@inheritdoc}