Parse this person name:

Lopez, John (flourished 1840-1877), flourished 1840-1877
user
first_name: John
last_name: Lopez
middle_names: []
temporal:
- start: 1840
  end: 1877
  type: flourished
titles: []
extra_info: []
assistant