Revert 3303504. `Engine.getDefaultSerializer()` was moved to DB, but that introduced deadlock for async writer. Will have to fix this before adding it into db.