Parse this person name:

Lacey James James W. Randy Hernandez the Wise, ca. died 1878
user
first_name: Lacey
last_name: Hernandez
middle_names:
- James
- James
- W.
- Randy
temporal:
- start: null
  end: 1878
  type: life_span
titles: []
extra_info: []
assistant