mock accountToDict()