setProjectOptions(json.projects.map(({ key, name }) => ({ key: key, value: key, text: name })))