Parse this person name:

Payne Davis, Joshua Megan T. Shannon, 1825-1867
user
first_name: Joshua
last_name: Payne Davis
middle_names:
- Megan
- T.
- Shannon
temporal:
- start: 1825
  end: 1867
  type: life_span
titles: []
extra_info: []
assistant