cli_base: when encountering an object, add an extra row with id=typeof($object)