Support --json for 'build new'