call print_nvlist before free in case it does something neat