Improving extraction of info on ac_source and dc_type from well reply