Implemented a /removeOrphans url to clean up orphaned json files.