Updated schema validation to allow settings of type template to have a
default value of 'null' when allows_empty is True to be consistent with
support for null value in configuration when allows_empty is True