Tools for reading and writing metadata in xml