Return a JSON file with success field for a successful clearing