graceful handling of bad serialized arrays