Part way through giving bank ids their own type
Finish adding all BankIds
Fix MongoDB hosted bank query with new BankId parameter
Set the correct bank id when creating Banks from HostedBanks
Fix use of bank id in MongoDB metadata query
Fix more mongodb queries to handle BankIds
Fix BankId equality check
Rename badly named Account field
Make account ids into their own type
Give transaction id its own class
Mark old toJson methods as deprecated