metadata: added method to put (key,value) into XPathMap