add toString to CodecConfig instance