Tools for converting a ROOT canvas into a table of numbers, for use in generating HEPData records