Update db_dump.js

fixed config merge and added cmd_args to the config