Gets rid of unused public payload targets in paths.json.