Getallpaths returns json arrays
Getallpaths -> getpaths