add initial support for dumping tables