The coronavirus pandemic is giving mainstream journalism a chance to rebuild trust and support, according to the former editor in chief of The Guardian.