by slashrsm: MongoDBBackend - correct condition that decides wether to serialize data or not.