expose encKeySet() function for testing
dont freakout on bad json publish strings