public static function selectTemplateList(
        $templateState
    ) {
        $templateState = (object) $templateState;

        $templateList = [];
        foreach ($templateState->template as $templateKey => $templateItem) {
            $templateList[$templateKey] = $templateItem;
        }

        return $templateList;
    }