read and dump only toplevel.