I'm afraid I don't know what this is doing. Can't you just parse the Object like an Account => BTC hashtable, and then convert that to a vector?