Added JSON config support for master regexp.