Parse this person name:

David W. (David Wesley) Perry, died 1767
user
first_name: David
last_name: Perry
middle_names:
- Wesley
temporal:
- start: null
  end: 1767
  type: life_span
titles: []
extra_info: []
assistant