TODO: this should probably be done as a custom tag processor with xml2js.
function normalizeKeys (keys, json) {
  Object.keys(json)
    .filter(k => keys.includes(k))
    .forEach(k => {
      json[k] = normalize(json[k])
    })

  return json
}