Node plugin ConfigHelper - calculates braces weight, simplified JSON regexes.