Add flat flag.
Provide shallow map/grep, deep dmap/dgrep.