Clean up in json logger