making query distinct in querybuilder equivalent query
showing 3 different JSON download