Parse this person name:

Bernetti, Mattia M. (Mattia Martina), 1877-1901
user
first_name: Mattia
last_name: Bernetti
middle_names:
- Martina
temporal:
- start: 1877
  end: 1901
  type: life_span
titles: []
extra_info: []
assistant