metadata: added method for pushing attribute keys and values to XPathMap