PIM-2347 Fixed mongodb custom types subscriber specs