better formatting of neighbor nodes list