[#1892] added conditional input to packing instructions for dataObjInfo_t and collInfo_t