- .keyval('names', result.names or [])\
- .keyval('addresstags', result.address or [])\
- .keyval('housenumber', result.housenumber)\
- .keyval('calculated_postcode', result.postcode)\
- .keyval('country_code', result.country_code)\
+ .keyval_not_none('names', result.names or None)\
+ .keyval_not_none('addresstags', result.address or None)\
+ .keyval_not_none('housenumber', result.housenumber)\
+ .keyval_not_none('calculated_postcode', result.postcode)\
+ .keyval_not_none('country_code', result.country_code)\