add support for packing / unpacking any serializable object