Refactor people_by_jurisdiction and person_by_name