This was something I just quickly put up as I thought it might be interesting and I had written it to fulfil a need at the time, I am amazed you have taken an interest and I have now merged your pull request.
As you noted previously, it really should use objects and make the data more accessible, I might take a look at this agian and see what could be added and whether it can be added to the newer IRIS monitoring.