Add comment to cast to tuple

Add a comment to explain why we cast to tuple before serializing the command.