sanitise result output for public consumption