Made new editor work with the new metadata format

Also fixed a bug where we didn't show metadata when editing the
initial version of a language.