Add final newline when generating search-json