Something like that.
H-COOH you can write also as HO-CHO . The formic acid contains still an Aldehyde function. So it is easy to oxidise further to Hydroxy-formic acid HO-COOH, also known as carbonic acid H2CO3. This decompose to carbondioxide and water as we know.