experimenting with dom and reflection, alternative for xml2json conversions