squash ConfigVariableBool and ConfigVariableInteger to ConfigVariableNumber finally, add optional values for ConfigVariables