Build a Python script to validate and deduplicate JSON lines datasets — Development Task