Replace metadata.json with mongodb
because of reasons:
- we already have entries in mongo before publish
- these are additional small files that have to be packed
- if we allow editing metadata and this is the source of truth, we are effectively implementing a terrible database
- the only need for the files is mirroring and we can provide the json out of mongo for that