code: function fixer(obj) {
    var result = []
    Object.keys(obj).forEach(AttributeName=> {
      result.push({
        AttributeName,
        AttributeType: obj[AttributeName].replace('**', '').replace('*', '').replace('Number', 'N').replace('String', 'S')
      })
    })
    return result
  }
docs: turns {foo:'*String', bar:'**String'} into [{AttributeName:'foo', AttributeType:'S'}, {AttributeName:'bar', AttributeType:'S'}]