Parse this person name:

Gates Brandt, Joshua Heidi Jacob Ruth A. Matthew, born 1583
user
first_name: Joshua
last_name: Gates Brandt
middle_names:
- Heidi
- Jacob
- Ruth
- A.
- Matthew
temporal:
- start: 1583
  end: null
  type: life_span
titles: []
extra_info: []
assistant