private function getNormalisedContentTypes(Config $config)
    {
        $normalised = [];
        $contentTypes = $config->get('contenttypes');
        foreach ($contentTypes as $contentType) {
            $normalised[$contentType['tablename']] = $contentType;
        }

        return $normalised;
    }