Transform nanopubs without serialization