Update livestatus and statusdata to properly support booleans

fixes #8100