Refactored type/object streaming, added support for reading into/writing from "generic" containers that don't require the original classes/types.