command/build: built enhanced cortex.json; fixes #410