with an empty path, roots_only output should print the target object