Set JSON output to display only last temp record