Serializer service fix for mongoDB.