addmetadata method

caveat: there's no real namespace handling, especially in info; I only
did as much as I needed to add license metadata