Use default value for primitive types when YAML has an empty value.

#17