public function toArray()
{
$converted = array();
$imp_imap = $GLOBALS['injector']->getInstance('IMP_Factory_Imap')->create();
foreach ($this->_indices as $key => $val) {
$converted[IMP_Mailbox::formTo($key)] = strval($imp_imap->getIdsOb($val));
}
return $converted;
}