Quick fix till toRDF uses the node map directly

This addresses #33.