fixing module ids to be relative
removing meta data in preparation for generating documents - this module really shouldn't be apart of the public api