Improve AbstractNodeWriter to handle RDF primitive values

If the AbstractNodeWriter receives an RDF primitive as the value of the
key value pair it will now apply proper node formatting to each node in
the primitive separating them with the separator if necessary.