Add support for BIP32 metadata to wallet format