it is a good idea to have an interface function that is just like getlogjoint etc. so that we don't have to do getacc(varinfo, Val(:ValuesAsInModel)).values or something like that which relies on knowing the exact name of the accumulator that we want