This is not possible in the “_PATH_” field of K-Shortest Path. The idea behind k-SP is to know the path of the edges and not the content of the Nodes. If you need this try Recurse Query .
However, in the first field however, you have access to the content of the target nodes. Just expand as below.
path(func: uid(path)) {
uid
expand(_all_)
}