Parse this person name:

Wong Barber, Mary S. R., 1810-1871
user
first_name: Mary
last_name: Wong Barber
middle_names:
- S.
- R.
temporal:
- start: 1810
  end: 1871
  type: life_span
titles: []
extra_info: []
assistant