fix(config): force type to Hash if nil