cleaning up Node::getDeltaFields(), adding support for term references