Parse this person name:

Bernat Martínez, Rubén, died 1328
user
first_name: Rubén
last_name: Bernat Martínez
middle_names: []
temporal:
- start: null
  end: 1328
  type: life_span
titles: []
extra_info: []
assistant