Parse this person name:

Juan José Garriga (1772-1814, flourished 1796-1809)
user
first_name: Juan José
last_name: Garriga
middle_names: []
temporal:
- start: 1772
  end: 1814
  type: life_span
- start: 1796
  end: 1809
  type: flourished
titles: []
extra_info: []
assistant