Cookie values using the 1.x formatting will be read, and upon next write be converted to json encoded values. Fixes #1593