More explicit handling of invalid input
Prior to this change, parsing something like 'streetAddress nullFlavor="NI"'
would  yield JSON like "street: [null]", instead of "street: []"
There's another (older) template id for smoking status observations