Object handling at `BaseVarDumper::export()` reworked