retain detected format in auto mode

I need to parse a plist blob, tweak it, and reserialize it, in whatever format it came in. This tweak simply remembers the format that the auto detector detected.