Parse this person name:

Thomas Nguyen, Kelly, 1823-1896
user
first_name: Kelly
last_name: Thomas Nguyen
middle_names: []
temporal:
- start: 1823
  end: 1896
  type: life_span
titles: []
extra_info: []
assistant