Do not expand blank nodes when serializing persistent models.

Change-Id: I7527a64c39a04176ee9bad9ce624188fe2a97e1b