This MR fix an issue where, depending on the order of fields in the monitoring_types tuple, the entry would always be written, leading to NaNs in the root file. It also make sure all lines fill_tuple are either writing all fields or none.
@cagapopo @samarian @aiwieder @tevans