The new persistency configuration LHCb!3268 (merged) and Moore!1085 (merged) requires changes how we pack and unpack data. This MR ports the changes to DaVinci.
Related to DPA task lhcb-dpa/project#120.