add charset=utf-8 for getNodes() curl call

This let's getNodes() work for paths that contain multi-byte characters. I have no idea what the ramifications of this change are and whether there's a better way to do it, etc.