back out metadata copying for every mime-type
make output code not drop non-mimetype-keyed json