Array of objects

This goes 80% of the way to solving issue #2 - the outstanding problem is that I couldn't find a decent way to name the container for an index array of objects, so I hard-coded `item`. If it was an associative array of objects, then the key could be used, but for an index array, the keys are 0,1,2,3 etc. and apparently XML tags can't start with a number.