The web interface depends on the names of the top level accounts "Assets", "Liabilities", "Equity", "Income" and "Expenses". Instead of hardcoding the names, we should have an accountType field which identifies if it is a special account. Right now if these accounts are renamed, the web interface breaks.