result.addProperty("uri", String.format("/accounts/%d", account.getRelativeId()));
result.addProperty("type", account.getAccountType().toString());
result.addProperty("currency", account.getCurrency().getCurrencyCode());
result.addProperty("status", account.getStatus().toString().toLowerCase(Locale.US));
if (account.hasBalance()) {
final Money balance = account.getBalance();
result.add(moneyPresenter.present("balance", balance, locale));
result.addProperty("last-balance-at", ISO_DATETIME.print(account.getLastActivityDate()));
}
FinancialInst financialInst = account.getFinancialInst();
if (financialInst != null) {