Added methods for getting the account list, and a resolution for the account list in jsonarray