set operations for json data