Adjust the loaddb and dumpdb functions to work with dataframe output by default (Fixes #2)