unifying structure of json map to string when the smartthings sensor label changes, relatedly fixes a bug that occurs during that process