function map_account(account: account): (rowid: rowid, id: byte_array, type: text)
Maps an account's info into a readable format for the frontend
Parameters