chore(config): force setting attributes to hash if nil