Output_mode = Json

Hi,

I am using SPLUNK Rest API to fetch the results to Postman.
When I give output_mode = CSV, I am able to see the exact results, but when I give output_mode=json I see duplicate results. May I know how to eliminate it?