Parse this person name:

Jeffrey M. (Jeffrey Mary) Foster, 1349-1385
user
first_name: Jeffrey
last_name: Foster
middle_names:
- Mary
temporal:
- start: 1349
  end: 1385
  type: life_span
titles: []
extra_info: []
assistant