add comparison dict to api response