benchmark: json generator for attachment