Rewrite converting Node to GPathResult