Added XML/JSON output of session info data. JSON support is about 90% done.