make error serialization use lists to save bandwidth.