Add add-dev-key command and tidy up format for keys.json and manifest.json