New method for writing case records. Records successors of components in workflow of the driver. Also compressing further ndarray by using code from Pymongo's bson code.