I thought about using JSON and having a class do the serialization, but it seems like a bigger change than I wanted because that involves how EE deserialize the stuff. I can certainly wrap this up in a helper class, I and we can decide whether or not to use JSON.