MacOS.o depends on the Carbon framework.
Fix incorrect name of the _json extension.
Fix python metadata scopes are not respected.