added API filter to modify response