Fixed output format and added aggregate method data