How worlds are born: JWST reveals exotic chemistry of planetary nurseries