Extension of the HCOOH and CO_2 solid-state reaction network during the CO freeze-out stage: inclusion of H_2CO