Dumping the db to the client side