Fix serialization exception when using non-existent consumer