Teach nth() to handle data containers with string keys