fixup nagios livestatus API to work with the refactored code