function convertOfficialMap (attributes) {
  let map = {}
  for (let attribute in attributes) {
    let key = officialAttributeMap[attribute]
    map[key] = attributes[attribute]
  }
  return map
}
function convertOfficialMap (attributes) {
  let map = {}
  for (let attribute in attributes) {
    let key = officialAttributeMap[attribute]
    map[key] = attributes[attribute]
  }
  return map
}
function convertOfficialMap ( attributes ) { let map = { } for ( let attribute in attributes ) { let key = officialAttributeMap [ attribute ] map [ key ] = attributes [ attribute ] } return map }
Convert a official map into correct attribute names
Convert a official map into correct attribute names