CMS-2192 Templates API design.
Make ComponentType use descriptor serializers.