Create nodes for IRIs and blank nodes in object position when converting from RDF

The same happens when flattening.

/cc @dlongley @gkellog (this was the controversial change I was talking about)