Add the ability to store arbitrary extra information

This is motivated by the possible desire to store the gitref etc. of the
code which is producing the results being plotted.