Add option for strict coercing of json data

If strit mode is enabled, then default values are aonly used if a
default value is provided. If a field is required but has no default, an
error is thrown.

If strict mode is off, then use a default 'empty' value for any values
not provided.