public Map<String, Object> adaptBalances(String data) throws ExchangeException {
Map<String, Object> resultMap = new HashMap<String, Object>();
CoinfloorBalances rawRetObj;
try {
rawRetObj = streamObjectMapper.readValue(data, CoinfloorBalances.class);
} catch (IOException e) {
throw new ExchangeException("JSON parse error", e);
}
resultMap.put("raw", rawRetObj);
List<Wallet> wallets = new ArrayList<Wallet>();
List<CoinfloorAssetBalance> funds = rawRetObj.getBalances();
for (CoinfloorAssetBalance assetBalancePair : funds) {
String currency = assetBalancePair.getAsset().toString();
BigDecimal balance = assetBalancePair.getBalance();