protected function formatJSON(SS_List $list) {
		$ret = array ();
		foreach($list as $item) {
			$ret[] = array(
				'id' => $item->{$this->idField},
				'label' => $item->{$this->labelField}
			);
		}

		return Convert::array2json($ret);
	}