dump db contents for Debugging

SQL intergration fix #3