Updated serialization and deserialization to support
objects with the dict and list interfaces.

refs #18
refs #16