fixed final output array for ajax