public function getAll() : array { return ["fields" => $this->fields, "metadata" => $this->metadata]; }