- add wildcard support to dump command and make it more robust