def parse_balance(self, balance):
    currencies = self.omit(balance, 'info').keys()
    for account in ['free', 'used', 'total']:
        balance[account] = {}
        for currency in currencies:
            balance[account][currency] = balance[currency][account]
    return balance
def parse_balance(self, balance):
    currencies = self.omit(balance, 'info').keys()
    for account in ['free', 'used', 'total']:
        balance[account] = {}
        for currency in currencies:
            balance[account][currency] = balance[currency][account]
    return balance