code: public function jsonSerialize(): array
      {
          return \array_filter(\array_merge(
              parent::jsonSerialize(),
              $this->jsonSerializeEdited(),
              $this->jsonSerializeEnvironment(),
              $this->jsonSerializeSpace()
          ));
      }
docs: {@inheritdoc}