Generate stub serializers