Removes un-needed metadata.json.