Write a function to identify and remove duplicate records from an incoming JSON dataset based on a composite key.