Fixing issue with JSON data in elementlist types after failed
validation.