Pulling specific attributes using the GET objects API call from Insight

Trying to pull Insight Objects and specific attributes out to use in a dashboard using https://api.atlassian.com/jsm/insight/workspace/{workspaceId}/v1/iql/objects?objectSchemaId=6&iql=objectType=Host&resultPerPage=50

It works ok, but it is pulling in every attribute for every host. I then have to loop through each to identify the attributes I want and get the value for it. This is causing the script to take hours to run. Looking for a way to pull just the specific attributes I need for all of the objects.

Thanks in advance for any pointers anyone can give.