flesh out xml2json tool
this is more generic, up a level