bug fixing bracket json generator