Add support for nested custom serializers