Backend: fix of get_people API and print traceback on exceptions