Add support for specifying flag base values using a json file.