add function to dump the full configuration