Don't emit deprecated and optional metadata.json properties
Fix incorrect editor id reference