Chemical stability of biopolymer solutions