Add method for parsing JSON array into Set