Force a node to output only public key by appending ".pub" to node path or by starting the path with "M" instead of "m".