RealtimeIndexTask: Fix "resource" serde