Added support for replacing cells serialized via json/encode64.

The NextGen Gallery plugin uses this technique.