build: fix empty SUBTARGET in json files