Added a 'getNodeName' API to JSON/XML InputArchives

If you are doing some pretty custom serialization/deserialization it can really help being able to know the current node key/tag.

I couldn't really figure out where to put this into the unit tests - any hints? Would you want tests for this?