fixed metadata usecase: id and name attributes in html must not start with a number, so added 'ns' prefix to the keys. further fixed mapping from namespace urls to indexes.
Changed paths: