private function convertTermsArray($terms, Taxonomy $taxonomy)
    {
        $res = array();

        foreach ($terms as $t) {
            $res[] = $this->termFactory->create($t, $taxonomy);
        }

        return $res;
    }