Add &attr[n] which gets the last instance of an attribute (Useful to get the most recent instance of Module-Failure-Message)
Move printing the reply out a little later (after we've decoded it)